Here's a very quick overview:
1. Download, install and configure Git.
2. Open up Terminal and type "cd " <- include space, now drag your project folder into the Terminal window and press the {Enter} key.
3. Type "git init" and press the {Enter} key.
4. Open your project with Xcode 4.
5. Choose File -> Source Control -> Commit (shortcut: press {Shift}+{CMD}+c) to open the Commit window.
6. Select all your files and be a good Git user and enter "Initial commit" in the comments.
7. Click the Commit button and wait for it to complete.
That's it... you just created your first Git managed project. As you make modifications to your project you'll see a handy "M" on all files that have been modified since your last commit.
No comments:
Post a Comment