git replacing LF with CRLF

前端 未结 20 1667
眼角桃花
眼角桃花 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条回答
  •  萌比男神i
    2020-11-22 00:20

    Many text-editors allow you to change to LF, see Atom instructions below. Simple and explicit.


    Click CRLF on bottom right:

    Select LF in dropdown on top:

提交回复
热议问题