Git Usefull comands

git clean -d -f [path]

Remove untracked files, that described in ignore lists. It's usefull if you switch between branches, which of them contains removed (and ignored) file, that exists in other.

leonidv Over 10 years ago