Git clean. No seriously, clean it.

Working on Chrome, there are lots of dependencies that get pulled, and when I make untracked temporary changes in those dependancies sometimes I just want everything back to normal. So, here’s the scorched earth method:


git clean -f -f -x -d

This blows away everything git doesn’t know about. Then I do another clean dependency pull and I’m back to the beginning!

Leave a Reply