Created
December 14, 2009 18:04
-
-
Save metaskills/256261 to your computer and use it in GitHub Desktop.
A few of my ZSH functions for Git SVN
This file contains hidden or 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
function gsrb () { | |
branch=$(git-branch-name) | |
git checkout master | |
git svn rebase | |
git checkout "${branch}" | |
git rebase master | |
} | |
function gsu () { | |
git checkout master | |
git svn rebase | |
} | |
function gsrbc () { | |
branch=$(git-branch-name) | |
gsrb | |
git checkout master | |
git rebase "${branch}" | |
git svn dcommit | |
git checkout "${branch}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment