Created
February 14, 2014 06:26
-
-
Save keicoder/8996627 to your computer and use it in GitHub Desktop.
objective-c : Add local repo for existing Xcode 5 Project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Add local repo for existing Xcode 5 Project | |
| //Close Xcode.app | |
| //Open Terminal.app | |
| $ cd /path/to/project/dir | |
| git init | |
| git commit -a -m Initial | |
| //You'll also want to add a .gitignore file to ignore some of the Xcode project files (Google for the exact list). | |
| //When you open the Xcode project next time it will be ready for Source Code use. If you want a "remote" for the repo you'll need to edit .git/config. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment