Fork me on GitHub

svn revert cleanup

You have reverted an svn merge and you have a lot of files not tracked (with exclamation mark, basically)?
Clean it up:
svn status | awk '$1 == "?"  {print $2}' | xargs -t -i rm -r {}
Again, knowing awk and xargs turn helpful!


Responses


  1. Not sure what this does or how it does it.


    Comment by matt — October 20, 2009 @ 1:41 am



Leave a comment

(required)

(required)