Created
June 26, 2012 08:20
-
-
Save yuanmai/2994352 to your computer and use it in GitHub Desktop.
git svn add remote branch
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
git config --add svn-remote.newbranch.url https://svn/path_to_newbranch/ | |
git config --add svn-remote.newbranch.fetch :refs/remotes/newbranch | |
git svn fetch newbranch [-r<rev>] | |
git checkout -b local-newbranch -t newbranch | |
git svn rebase newbranch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment