克隆存储库时,Git冲突复制错误 [英] Git conflicted copy error while cloning a repository
问题描述
我使用Dropbox作为git存储库。
现在由于同步中存在一些问题,git中存在一些冲突副本。我如何消除这种冲突?
由于这种冲突,我无法复制该存储库的内容。
克隆存储库时遇到的错误是: -
Git: - 致命:引用的格式无效:'refs / heads / debugging(xyz conflictedcopy date)'
最终为我工作的解决方案是简单地删除引用引用的分支,例如
git branch -D调试(xyz conflictedcopy date)
我有很多这样的引用,所以这是冲洗和重复..
I am using dropbox as a git repository.
Now due to some issue in the syncing, there is some conflicted copy present in the git. How do I remove this conflict ? Due to this conflict I am unable to clone the contents of that repository.
The error I am getting while cloning the repository is:-
Git :- fatal: Reference has invalid format: 'refs/heads/debugging (xyz conflictedcopy date) '
The solution that eventually worked for me was to simply delete the branch that the reference refers to, e.g.
git branch -D "debugging (xyz conflictedcopy date)"
I had many such references, so it was "rinse and repeat"..
这篇关于克隆存储库时,Git冲突复制错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!