Git-SVN How To

Git-SVN How To

# Checkout
git svn clone <svn_repo>

# Workflow
git checkout -b <work_branch>
    .. work .. work .. work ..
git commit -a

# Switch Back To Master, Then Rebase
git checkout master
git svn rebase

# Sync Working Branch To Local Master
git checkout <work_branch>
git rebase master          

# Commit Your Work
git checkout master
git svn rebase
git merge <work_branch>
git svn dcommit -e

Leave a Reply

Your email address will not be published. Required fields are marked *


*