Your source for daily hacks

Published on: August 15, 2013 / Comments: None

Get Gittin with Git

Gittergittygitgit

Albeit slowly, git is taking over your crusty old subversion repository.  The mainline Linux kernel development has already switched and github is just about as popular as ever nowadays!  So it’s time to learn some git commands.

Git might be a little difficult to wrap your head around at first, especially if you are used to using svn now.  Some things don’t translate 1:1. I found this great resource called  Git Magic .  It’s a GPL’d book on git.  It’s available in a ton of different formats and languages.  I prefer the PDF version myself.  It starts out by helping you get the concept around git, when you clone a repo (… check it out in svn speak) you are creating your own repo, which you publish your changes, and eventually push the changes upstream.  Then it covers a few scenarios that you are likely to run into.  A great book on git, especially for the price.   Well worth a read.

If you’re too lazy to read there’s always a cheat sheet.

Leave a Reply

Some HTML is OK