Best Practices using Git with Xcode

April 22nd 2012, 10:44 amCategory: None 0 comments

I wanted to share best practices using Git with Xcode project with everyone who had trouble with Xcode and Git.


If you have made any changes to your code and want to push just follow this steps:


  1. Commit from gity (free excellent GUI git tool)

  2. Pull from Xcode 4.3.2 (File->Source Control->Pull) (Xcode is good at solved .xcodeproj file conflicts).

  3. Solve conflicts using Xcode (if any)

  4. Commit and pushed from gity (or command line which is much more convenient).


If you want to get latest updates just pull from Xcode.