Last Updated: February 25, 2016
·
381
· klj613

remove untracked files

If you want to remove all your untracked files...

git clean -f

If sometimes you have untracked files you want to keep (e.g. error logs from a build) then you should add them to .gitignore.