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.
Posted by leonidv to Leonid's cards (2013-12-19 08:41)