Skip to content

Instantly share code, notes, and snippets.

@metaskills
Created December 14, 2009 18:04
Show Gist options
  • Save metaskills/256261 to your computer and use it in GitHub Desktop.
Save metaskills/256261 to your computer and use it in GitHub Desktop.
A few of my ZSH functions for Git SVN
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