Skip to content

Instantly share code, notes, and snippets.

@tkdave
Created July 28, 2010 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tkdave/495836 to your computer and use it in GitHub Desktop.
Save tkdave/495836 to your computer and use it in GitHub Desktop.
# Find all deleted files and delete them from svn
svn status | awk '{if ($1=="!") print $2}' | xargs svn del
@tkdave
Copy link
Author

tkdave commented Jul 28, 2010

I use this as a bash script saved as ~/bin/svndel. You could setup a bash alias as well.

Then, before I do svn commit, I can say...

$ svndel

$ svnadd

$ svn commit -m 'nice work'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment