
答案1
看起来您在 Windows 上编辑了文件,它对新行使用了不同的编码。Windows 版 Git 包含一个在提交时转换换行符的选项。GitHub 在此处对此进行了记录:https://help.github.com/articles/dealing-with-line-endings/
看起来您在 Windows 上编辑了文件,它对新行使用了不同的编码。Windows 版 Git 包含一个在提交时转换换行符的选项。GitHub 在此处对此进行了记录:https://help.github.com/articles/dealing-with-line-endings/