Unable to determine upstream SVN information from HEAD history

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

Why do I get this error message?

11条回答
  •  心在旅途
    2020-12-02 11:15

    I got this message because I used a FQDN for the git svn init command but the pre-existing git-svn integration was using just the hostname.

    E.g. grep git-svn-id showed:

    git-svn-id: svn://host/repo/...
    

    But I did:

    git svn init -Ttrunk svn://host.domain.com/repo
    

    (We have a machine that regularly syncs a git repo with svn, then everyone else has git config --add remote.origin.fetch refs/remotes/*:refs/remotes/* to fetch down the svn synced branches.)

提交回复
热议问题