Why do I get this error message?
In my case, the HEAD from the svn repo should have been matched to the HEAD from the git repo. This should solve the problem:
git update-ref refs/remotes/git-svn refs/remotes/origin/master
If your use a different git branch for svn trunk, for example svntrunk
, that branch should be referenced instead, that is:
git update-ref refs/remotes/git-svn refs/remotes/origin/svntrunk