Unable to determine upstream SVN information from HEAD history

后端 未结 11 918
忘掉有多难
忘掉有多难 2020-12-02 10:28

Why do I get this error message?

11条回答
  •  伪装坚强ぢ
    2020-12-02 11:14

    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
    

提交回复
热议问题