Advertisement
evilqubit

clean GIT unstaged file

May 30th, 2013
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. git clean -f
  2. If you want to also remove directories, run git clean -f -d.
  3.  
  4. If you just want to remove ignored files, run git clean -f -X.
  5.  
  6. If you want to remove ignored as well as non-ignored files, run git clean -f -x.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement