无法解决Git错误“拒绝合并无关的历史记录”

时间:2020-08-24 04:39:43

标签: django git amazon-web-services atlassian-sourcetree

当我尝试拉动

a

发生错误

  • 分支头-> FETCH_HEAD 致命的:拒绝合并无关的历史记录

然后我尝试了

Public Class PlayerList
    Inherits List(Of player)
    Implements ICloneable
    Public Function Clone() As Object Implements ICloneable.Clone
        Dim newList As New PlayerList
        For Each p As player In Me
            Dim newP = CType(p.Clone(), player)
            newList.Add(newP)
        Next
        Return newList
    End Function
End Class

Private Sub OPCode()
    Dim a As New PlayerList()
    Dim b As PlayerList
    a.Add(New player)
    a(0).name = "john"
    b = CType(a.Clone, PlayerList)
    a(0).name = "jack"
    MsgBox(b(0).name)
End Sub

发生错误

致命:'origin'似乎不是致命的git存储库:可以 无法从远程存储库读取。

然后我尝试了

git pull https://myid@bitbucket.org/myid/abc.git

发生错误

显示此消息的原因是未配置“ merge.tool”。看到 'git mergetool --tool-help'或'git help config'了解更多信息。 'git mergetool'现在将尝试使用以下工具之一: tortoisemergeerge vimdiff无需合并文件

检查分支名称

 git pull origin master --allow-unrelated-histories

分支只是大师

  • 主人

我不知道如何解决此问题,请教我下一步该怎么做?

0 个答案:

没有答案
相关问题