warning: refname 'xxx' is ambiguous when using git-svn

后端 未结 4 1169
故里飘歌
故里飘歌 2020-12-28 11:40

I am using git as a frontend to Subversion (via git svn).

So, for every svn trunk/branch I have remote branch in git named \"remotes/xxx\". For example \"remotes/tru

4条回答
  •  心在旅途
    2020-12-28 12:22

    If you just want to get rid of warning, set core.warnAmbiguousRefs to false:

    git config --global core.warnambiguousrefs false
    

    If you want this behavior only for single repository, omit --global flag.

提交回复
热议问题