Git

Some git shortcuts and tips.

Git commands

Show difference between last commit (tip) and current file on disk:

git diff myfile.txt

Remove tracking of a file:

git rm --cached myfile.txt