How can I use git from within Xcode? I've found SVN easy to use from Xcode; can I use git as easily?
2 Answers
You CAN use git easily from Xcode. Easily, but not well.
One of the design decisions Apple made with Xcode was to present a unified interface to version management regardless of what version control system was on the back-end. So if you're using git, you only get the subset of git functionality that svn also supports. No index, no stash, not really even branching.
I've quit trying to use Xcode's onboard git "integration". It's broken by design.
2 Comments
In XCode 4 you get git support natively. There's a buch of documentations on the internet:
- https://github.com/blog/810-xcode-4-released-with-git-integration
- http://oleb.net/blog/2011/05/on-git-support-in-xcode-4/
Official doc here.
Also, Google has LOADS of results on this matter...