存在\n的文件 git提交会报错
解决:将\n转成\r\n
可以用notepad++替换
查找:(?<!\r)\n
替换:\r\n$1
https://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf
存在\n的文件 git提交会报错
解决:将\n转成\r\n
可以用notepad++替换
查找:(?<!\r)\n
替换:\r\n$1
https://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf