With git, you can reset your working directory to a pristine checkout
$ git clean -xdn
to see what's going to be done, followed by
$ git clean -xdf
Explanation:
-x means even kill ignored files
-d means remove untracked directories as well as files
-n means dry run: tell me what you're going to do
-f means force: actually do it!
Wednesday, March 31, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment