My git Cheat Sheet

This is my git cheat sheet. There are many like it, but this one is mine.

Checkout and track a remote branch

git fetch
git checkout branch_name

Show branches that contain a particular commit

git branch --contains SHA1

Show the last 10 commits - one line for each

git
Continue Reading