Eclipse and Windows newlines

前端 未结 6 2172
天命终不由人
天命终不由人 2020-11-29 15:43

I had to move my Eclipse workspace from Linux to Windows when my desktop crashed. A week later I copy it back to Linux, code happily, commit to CVS. And alas, windows newlin

6条回答
  •  被撕碎了的回忆
    2020-11-29 16:05

    I had the same, eclipse polluted files even with one line change. Solution: Eclipse git settings -> Add Entry: Key: core.autocrlf Values: true

提交回复
热议问题