git replacing LF with CRLF

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

    In a GNU/Linux shell prompt, dos2unix & unix2dos commands allow you to easely convert/format your files coming from MS Windows

提交回复
热议问题