git replacing LF with CRLF

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

    1. Open the file in the Notepad++.
    2. Go to Edit/EOL Conversion.
    3. Click to the Windows Format.
    4. Save the file.

提交回复
热议问题