There is nothing changed, but eclipse egit marks the file as changed

前端 未结 8 1759
终归单人心
终归单人心 2020-11-29 19:08

I\'m using eclipse egit with github. I found something strange that I didn\'t change anything, but egit marked the file as "changed". See the images:

8条回答
  •  一整个雨季
    2020-11-29 19:38

    As a follow up, as I just ran into the same issue, another reason for EGit detecting all files as changed is a POSIX file permission problem at least when used together with Cygwin's git.

    The following will fix that; however keep in mind that this also means that they are ignored then:

    $ git config core.filemode false

提交回复
热议问题