Get the Git goodness with an existing XCode project in Xcode 4
So I had one project that predates XCode 4 and I could see anyway to take advantage of creating a Git repository easily through XCode like new project get. So in order to solve the problem I went to the "Google Mobile" and found a simple solution that will make a local Git repository for your project that XCode will recognize. And you know what the best part is? Its EASY!
1. Close the project (If its open in XCode, just in case) 2. Open terminal 3. Navigate to project directory 4. Type: $ git init 5. Type: $ git commit -a -m "Initial commit" (Not sure if this step in necessary but did it anyway) 6. Open project in Xcode and enjoy git goodness
You should see repository options are available and you might need to check in your project files into Git but it works!










