git mergetool reports “No files need merging”

前端 未结 7 1022
傲寒
傲寒 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:27

    Solution 1:

    $git config --global core.trustctime false
    

    If false, the ctime differences between the index and the working copy are ignored; useful when the inode change time is regularly modified by something outside Git (file system crawlers and some backup systems). and core.trustctime is true by default.

    Solution 2: just:

    $git rebase --skip
    

    It's OK for you to skip it

提交回复
热议问题