Error message:
fatal: git checkout: updating paths is incompatible with switching branches/forcing
How to get past this Git checkout error?
When I encounter this message, it is because I have tried to do git checkout -f $blah, expecting to throw away local changes, as described in git checkout --help.
Instead, I use rm $blah && git checkout $blah to throw away local changes.