I created a git mirror of an SVN repository by doing:
This works great, and I can update it with simply:
However, if I move to a different computer and want to update it, I tried:
but here I get:
"Unable to determine upstream SVN information from working tree history"
Can anyone explain the correct way to do this?
I had the same need and eventually found an example here:
http://rip747.wordpress.com/2009/06/17/reviving-a-git-svn-clone/
To answer in the context of your question:
git clone [github url]
cd repo
git svn init [svn url]
git update-ref refs/remotes/git-svn refs/remotes/origin/master
git svn rebase
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With