Skip to content

Instantly share code, notes, and snippets.

@AlexDenisov
Created November 6, 2012 11:54
Show Gist options
  • Save AlexDenisov/4024238 to your computer and use it in GitHub Desktop.
Save AlexDenisov/4024238 to your computer and use it in GitHub Desktop.
Useful aliases for SVN
alias subadd="svn st | grep '^?' | sed 's/^? *\(.*\)/\"\1\"/g' | sed 's/@\(.*\)/@\1@/g' | xargs svn add"
alias subrm="svn st | grep '^!' | sed 's/^! *\(.*\)/\"\1\"/g' | sed 's/@\(.*\)/@\1@/g' | xargs svn rm"
alias subst='svn st'
alias subci='svn ci'
alias subup='svn up'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment