Last active
December 31, 2015 07:09
-
-
Save zeroeth/7951969 to your computer and use it in GitHub Desktop.
git svn happy times
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
| # 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