git replacing LF with CRLF

前端 未结 20 1448
眼角桃花
眼角桃花 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:13

    OP's question is windows related and I could not use others without going to the directory or even running file in Notepad++ as administrator did not work.. So had to go this route:

    C:\Program Files (x86)\Git\etc>git config --global core.autocrlf false
    

提交回复
热议问题