Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
Add Comment
Please, Sign In to add comment