Created
September 15, 2011 15:46
-
-
Save mumrah/1219612 to your computer and use it in GitHub Desktop.
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
# Make the SVN repo: | |
svn mkdir protocol://path/to/repo | |
# Tell Git to track it (by default the SVN repo becomes the remote branch "git-svn"): | |
git svn init protocol://path/to/repo | |
git svn fetch | |
# Checkout the empty "git-svn" branch to a local integration branch: | |
git checkout -b svn-integration --track git-svn | |
# Merge the Git branch (non-fast-forwarded!) into the integration branch: | |
git merge --no-ff --no-commit feature | |
# Commit! | |
git commit | |
git svn dcommit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment