How to repair CRLF in GIT repository to avoid merge conflicts

前端 未结 2 2046
囚心锁ツ
囚心锁ツ 2021-01-04 09:45

I created my repo with autocrlf=true and then made some checkouts and commits with autocrlf=false. Then switched back to autocrlf=true

2条回答
  •  萌比男神i
    2021-01-04 10:14

    Use the git merge option "ignore-space-change" or "ignore-all-space" for the "recursive" strategy. This option is in 1.7.4.1, at least.

提交回复
热议问题