Created
June 7, 2012 16:59
-
-
Save rbriank/2890059 to your computer and use it in GitHub Desktop.
bash alias for easier svn merging
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
alias s:merge='ruby -e "branch=ARGV.shift;ARGV.each{|r| cmd=%Q(svn merge https://subversion/svn/repo/#{branch} -c #{r}); puts cmd}"' | |
alias s:merge:live='ruby -e "branch=ARGV.shift;ARGV.each{|r| cmd=%Q(svn merge https://subversion/svn/repo/#{branch} -c #{r}); system(cmd)}"' | |
alias s:merge:dry='ruby -e "branch=ARGV.shift;ARGV.each{|r| cmd=%Q(svn merge https://subversion.looksmart.com/svn/plp/amp/#{branch} -> | |
# mergr branches/branch 123 124 125 ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment