git commit get fatal error “fatal: CRLF would be replaced by LF in”

前端 未结 9 1628
渐次进展
渐次进展 2020-11-29 16:10

I\'m using Ubuntu 13.10 x64, and I am working on a project that some developers are using Windows , I recently changed the git config core.eol to \"lf\" and

9条回答
  •  一生所求
    2020-11-29 16:32

    I had the same problem and tried the suggested solution with no success.

    I had to execute a second command to make it work:

    $ git config --global core.autocrlf false
    $ git config --global core.safecrlf false
    

提交回复
热议问题