2

I'm trying to understand how to use GIT with Xcode 4.2.

I haven't been using GIT actively, but while I was walking through a couple of git operations mentioned in this link it appears that I have a single repository with many projects in it and a recent project in a repository all by itself.

I want to carefully take the project I am currently working on and put it into its own repository so I can safely leverage some of the branching capabilities.

I'm hesitant to begin until I have a better understanding of what's going on. I'd like to know how much is handled within Xcode and what I have to do at the command line.

3
  • 8
    Do yourself a favour and learn how to use Git independently and use the command line and just ignore XCode's integration. Commented Dec 7, 2011 at 3:45
  • 2
    echo'ing what mahojids said - learn it from the command line. It will pay you back. Personally, I went through progit.org book. First few chapters get you going. After that, all guis make sense. Commented Dec 7, 2011 at 3:53
  • Thanks, Bryan. I have been looking for something like this Pro Git Book. It's a little long, but it looks like and easy read, based on my reading the article by Scott Chacon that you linked to. Commented Dec 7, 2011 at 20:38

2 Answers 2

6

@manojids comment to learn a source control system (like git) outside of a specific editors integration is a good point. Try to understand the source control system. The integration is a convenience, not a crutch.

Outside of that advice, apple has some docs outlining specifics of how XCode works with git. Here's the link:

http://developer.apple.com/library/mac/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/SCM/SCM.html

A good online resource is the pro git book available here:

http://git-scm.com/book

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

Comments

1

If you want to learn and understand Git and its concepts in detail then this book would be best for you here is the link.

Or you can have a drill on it practically if you follow this tutorial.

I hope you will get help.

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.