git mergetool reports “No files need merging”

前端 未结 7 1049
傲寒
傲寒 2020-12-05 12:57

For some reason lately, every time I pull and get a merge conflict, running git mergetool reports \"No files need merging\":

$ git pull
First, r         


        
7条回答
  •  悲&欢浪女
    2020-12-05 13:40

    Trivial solution

    which worked for me: Git creates some merge related files in the very same directory where the conflicted file is, so remember to run git mergetool in correct path.

提交回复
热议问题