Version control with Git on OSX
I've started playing around with iPhone development and OSX for the first time (having recently bought a macbook pro) and wanted to get into good version-control habits earlier rather than later. I installed subversion and svnX (a nice OSX frontend) and found that this works quite nicely with XCode's built in SCM support.
Iain Lane, however, advanced to me this afternoon that svn is outdated and distributed version control with Git is where things are at. Having seen lots of github repositories and gists around on the web, I thought I'd go and check it out. Turns out DVCS like Git are really quite different from traditional version control systems. I've not done much branching and forking with svn before, something which git features heavily. The fact also that each checkout is a full copy of the repository, letting you work locally and then pushing commits back up to the master repo also sounds very neat.
Anyway, some useful links:
- Scott Chacon's book, Pro Git, is an excellent resource and available to read online in its entirety for free
- OSX Git installer
- GitX frontend, really quite slick
- Vincent Driessen's Git branching model
Turns out XCode doesn't yet support Git, but using the GitX gui alongside XCode can't be that bad. There are also some nice .gitignore settings linked from there which might come in handy.
Comments [0]