Created
November 19, 2012 02:57
-
-
Save xentek/4108719 to your computer and use it in GitHub Desktop.
Subversion bash aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SVN | |
# set your editor | |
export SVN_EDITOR="/usr/bin/vi" | |
# add everything that needs to be added based on results of svn status | |
alias svnadd="svn st | grep \? | awk '''{print \"svn add \"$2 }''' | bash" | |
# show svn status, sans the noise from externals | |
alias svnst='svn st --ignore-externals' | |
# edit svn:externals for the current folder in the editor | |
alias svnext='svn pe svn:externals .' | |
# edit svn:ignore for the current folder in the editor | |
alias svnign='svn pe svn:ignore .' | |
# recursively delete .svn folders from current directory | |
alias delsvn="find . -name .svn | xargs rm -rf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment