1. Checkout source:
git-svn clone svn+ssh://path/to/trunk
2. Work Work Work then:
git commit (/path/to/file/or/dir/ or -a)
or
git add /path/to/file.extension
git commit (/path/to/file/or/dir/ or -a)
3. Repeat Step 2 Ad nauseum
4. Sync up with svn repository again or to sync up any time(see 7 for stashing uncommitted changes):
git-svn rebase
5. If there are conflicts:
Fix offending file/files
git-add offending file/files
git-rebase --continue
6. Commit work back to svn repository
git-svn dcommit
7. To sync with uncommitted local changes (stash, sync, restore stashed changes and delete stash)
git-stash
git-svn rebase
git-stash apply
git-stash clearIf you enjoyed this post, make sure you subscribe to my RSS feed!
