Git resources

23rd May 2011
Git

Following an impromptu git intro at Drupal 7 camp Leeds by mcjim, psynaptic and myself, I thought I should at least share some resources that I have come across during my time learning Git. In case you haven't heard of Git, it's a source code management tool. You can find out lots of information at the official site git-scm.com.

Useful links

Mastering Git basics - This is a great intro to understanding the fundamentals of git and really helped me to understand what was going on with branches, the stage and the index.

Git in action - I found this screencast really easy to follow and some nice tips specifically this command which gives you an awesome git log format. Just paste it into your shell. The code snippet originally came from here https://gist.github.com/515937.

git config --global alias.lg "log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr %an)%Creset' --abbrev-commit --date=relative"

http://help.github.com/git-cheat-sheets/ - More than enough information on git to please most people

http://cheat.errtheblog.com/s/git - A great list of useful commands and what they do.

Tags 

Git