Alex

Pro Git

In my day to day job I use Git very frequently, but I’ve never spent the time to properly get my head round the more complex parts, instead relying on muscle memory and StackOverflow for those occasions that I get stuck.

I decided to read parts of Pro Git (git-scm.com/book/en/v2), going back to basics to learn a bit more about the internals and more advanced features of Git, and to solidify my understanding of this powerful but at times opaque tool.

Useful aliases can be found at the bottom of this page

Notes

Config

Adding, Diffing, Committing, Removing

Viewing Commits with git log

Undoing Things

Remotes

Tagging

Branching Fundamentals (Important)

Branching

Reproduced from Fig.24 from Pro Git
Reproduced from Fig.25 from Pro Git

Useful Aliases

Various useful aliases