Guest User

Untitled

a guest
Jul 12th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. git 2.11 and newer
  2. git clean -d -fx .
  3.  
  4. older git
  5. git clean -d -fx ""
  6.  
  7.  
  8. -x means ignored files are also removed as well as files unknown to git.
  9. -d means remove untracked directories in addition to untracked files.
  10. -f is required to force it to run.
Add Comment
Please, Sign In to add comment