You can re-establish a git svn
clone just by running the same commands you used to initialise the remote Git in the first place (but you might need to ensure you use the same --prefix
in the git svn clone
). It looks like Git keeps track of SVN metadata in the Git commit messages (git-svn-id:
) to prevent duplicates.
git svn clone -s https://openclerk.googlecode.com/svn/ openclerk -A svn-authors.txt --prefix ""
(the empty prefix is because the original Git repository used an empty prefix too)git remote add origin https://github.com/soundasleep/openclerk.git
git branch --set-upstream-to=origin/master master
git pull
- Carry on with
git push
,git svn rebase
,git svn dcommit
as necessary