git usual commands

Copypaste zone of things that I want to keep

1. Diff between commits

git diff HEAD~1 HEAD

2. Remove untracked files

First check if it’s not going to explode:

git clean -n

Then delete:

git clean -f