2

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 2

3

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.

Sign up to request clarification or add additional context in comments.

2 Comments

So are you managing the code files from an external application or from the cmd line?
I do my git work on the command line. It's my preferred environment for most things anyway, so it's fairly natural for me. There are several stand-alone GUI git applications that do fine. I like Tower very much--it's powerful and beautiful (but not free).
2

In XCode 4 you get git support natively. There's a buch of documentations on the internet:

Official doc here.

Also, Google has LOADS of results on this matter...

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.