Git: Remove Non Project Files from Repository

A quick tip that I always seem to forget, if you need to quickly remove any non project files form a repo, check this Stack Overflow answer out:

~

A quick tip that I always seem to forget, if you need to quickly remove any non project files form a repo, check this Stack Overflow answer out:

http://stackoverflow.com/questions/5037480/removing-non-repository-files-with-git

In short, I think I used this in the end:

git clean -df

Which removed and deleted any files not in the git index.