Created
September 13, 2013 18:32
-
-
Save n00ge/6554340 to your computer and use it in GitHub Desktop.
Initializing a new SVN Repo with Git-SVN
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 init | |
git status | |
svn mkdir --parents https://url.com/repo/trunk -m "Creating trunk" | |
git svn init https://url.com/repo -s | |
git svn fetch | |
git status | |
git branch -r | |
git svn rebase | |
git svn dcommit -n | |
git add -i | |
git status | |
git commit -m "Initial commit" | |
git status | |
git svn dcommit -n | |
git svn dcommit | |
svn mkdir --parents https://url.com/repo/branches -m "Creating branches" | |
git svn branch -m "Branch for new_feature" new_feature |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment