source tree marks all file as modified

非 Y 不嫁゛ 提交于 2019-12-01 01:41:04
VonC

Make sure that the config core.autocrlf is set to false, to avoid automatic eol (end of lines) conversion on all your files.

git config --global core.autocrlf false

(and re-clone your repo to see if the issue persists)

See for more "SourceTree App says uncommitted changes even for newly-cloned repository - what could be wrong?"

This sourceTree thread points out also to .gitattributes files.


The OP Asaf Maoz points to another source (in the comments), still related to eol:

the problem was in my IDE line endings settings, some files line endings was set to MAC (when I am not on MAC) and ST could not convert them properly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!