Skip to content

Instantly share code, notes, and snippets.

@zeroeth
Last active December 31, 2015 07:09
Show Gist options
  • Select an option

  • Save zeroeth/7951969 to your computer and use it in GitHub Desktop.

Select an option

Save zeroeth/7951969 to your computer and use it in GitHub Desktop.
git svn happy times
# create remote branch
git svn branch new_feature
# check out new local branch
git checkout -b new_feature
# the magic command to setup the svn remote properly
git rebase remotes/new_feature
# (your git commits here)
# dry run if you wish to verify the end point. should mention /branches/new_feature
git dcommit -n
# commit the changes
git dcommit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment