Should git change the ending of line? (control+M or ^M at the end of the first line)

前端 未结 3 1514
暗喜
暗喜 2021-02-05 18:46

I use git to pull my code from a windows machine.

When the other developers pull the files from the server on their liunx machine they have the

3条回答
  •  一向
    一向 (楼主)
    2021-02-05 19:25

    Try setting the core.autocrlf to true (see git-config).

提交回复
热议问题