windows 下千万不要用 git的“换行符自动转换功能”

windows 下千万不要用 git的“换行符自动转换功能”,不然可能会出现啥都没修改,结果显示空格修改了。直接使用unix风格的 换行符即可。

参考资料:

1、 https://github.com/cssmagic/blog/issues/22

2、http://blog.csdn.net/igorzhang/article/details/17420949

原文地址:https://www.cnblogs.com/xunux/p/7058827.html