git replacing LF with CRLF

前端 未结 20 1444
眼角桃花
眼角桃花 2020-11-21 23:31

Running git on a Windows XP machine, using bash. I exported my project from SVN, and then cloned a bare repository.

I then pasted the export into the bare repositori

20条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-22 00:09

    Make sure that you have installed the latest git.
    I did as above git config core.autocrlf false, when used git (version 2.7.1), but it did not work.
    Then it works now when upgrade git (from 2.7.1 to 2.20.1).

提交回复
热议问题