a guest Jul 12th, 2018 59 Never
- git 2.11 and newer
- git clean -d -fx .
- older git
- git clean -d -fx ""
- -x means ignored files are also removed as well as files unknown to git.
- -d means remove untracked directories in addition to untracked files.
- -f is required to force it to run.
RAW Paste Data