Removing untracked files from the working tree is easy with git-clean
I use this for removing intermediate (i.e. known, ignored) files:
git clean -Xf
-X
- Remove only files ignored by Git
-f
- Force the removal
Of course, you could just RTFM.
Removing untracked files from the working tree is easy with git-clean
I use this for removing intermediate (i.e. known, ignored) files:
git clean -Xf
-X
-f
Of course, you could just RTFM.