Git pull: error: Entry foo not uptodate. Cannot merge

后端 未结 11 1973
不思量自难忘°
不思量自难忘° 2020-11-30 20:09

I\'m trying to update my repo from a remote branch and keep getting this error when I do a \"git pull\". I haven\'t made any local changes, and even if I have I don\'t need

11条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-30 20:50

    Worth a try:

    Could you set, just for this update, set the config parameter core.trustctime to false?

    core.trustctime
    

    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).

提交回复
热议问题