I recently switched a bunch of my projects over to git. Why? All the cool kids are doing it, I figured I’d give it a shot. Either way I ran into a few bumps with the git-svn stuff. Everything went really well until I tried to push back my changes from git. I’d been committing changes to my repo and pushing them to github/hasno without issue. I ran into errors when I tried to git-svn dcommit.
Here’s what I’m currently calling the right way, as usual ymmv:
git-svn init <repo url> git-svn fetch
git branch -a
* master
origin/HEAD
origin/local-svn
origin/master
tags/release-0.1.23
tags/release-0.2.42
tags/release-0.2.44
tags/release-0.2.50
trunk
git checkout -b local-svn trunk
git merge mastergit rebase, but when I tried that I couldn’t use git-svn dcommit
git commit. at this point you can git dcommit
So if all that was how I got it working, what did I run into along the way… Well I’m glad you ask. Here’s a list of errors and the reason for them afaik:
.git/configThat’s about it for me, if you’ve seen those errors and can add some detail or shed some light on a better way please do share. As of this moment ruby-hl7 is synched up.