On git line-endings again

后端 未结 1 388
死守一世寂寞
死守一世寂寞 2021-01-14 06:26

All of our developers work on windows machines and build is done on Linux.

In order to conform the true way we decided to normalize line endings and follow

1条回答
  •  旧巷少年郎
    2021-01-14 06:49

    I did had the same problem once. I can only give you one advice.

    For me its not the work of a VCS to manage our line endings. Its the job of the developer or the IDE. So normalize your line endings once and after that switch the line endings on the windows machine IDEs to Unix-Line-Endings and be happy again. Thats what solved our problems.

    0 讨论(0)
提交回复
热议问题