Skip to content

Instantly share code, notes, and snippets.

@ptrv
Created March 10, 2009 15:23
Show Gist options
  • Save ptrv/76935 to your computer and use it in GitHub Desktop.
Save ptrv/76935 to your computer and use it in GitHub Desktop.
# svn recipes by http://github.com/htxt
# Remove deleted files
svn status | grep '\!' | awk '{print $2;}' | xargs svn rm
# Add all new files
svn add * --force
# Recursively remove .svn directories
rm -rf `find . -type d -name .svn`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment