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

前端 未结 8 1792
终归单人心
终归单人心 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:34

    Eclipse Preferences / Team / Git / Configuration / User Settings

    ("core" section)

    key: autocrlf
    value: false
    

    The key should already exist, so just need to edit the value.

    If creating a new key then use core.autocrlf.

提交回复
热议问题