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
.
Written by Kristian Lewis Jones
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#