具体描述见: There is nothing changed, but eclipse egit marks the file as changed
网友有介绍用如下方法:
Eclipse中 Preferences / Team / Git / Configuration / User Settings 将 autocrlf的值改为false,经试验,重新打开工程或重启eclipse均没有效果。
用如下的方式可以解决这个问题:
工程右键 → replace with → prevision revision,恢复到之前的版本,然后再恢复到Head revision即可。最新的版本如果有新增文件,删掉即可。