这是我做$ git stash pop
时唯一的冲突
它是文件的最后一行,两者都没有任何换行符。
这是我不知道的关于git的事情,还是一些bug Git版本1.7.12
答案 0 :(得分:2)
似乎与“git: merge conflicts over newline at end of file”一致,并且当设置core.autocrlf
设置为false
(我推荐)时,通常代替“native
”。<登记/>
请注意,合并不会忽略这些eol差异(请参阅“Is it possible for git-merge to ignore line-ending differences?”)。
如果您希望自动为您完成这些eol转换,那么您可以考虑.gitattributes
设置,如“Distributing git configuration with the code”中所述。