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

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

 

 

 

 

参考资料:

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

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

posted @ 2017-06-21 11:49  xunux  阅读(1792)  评论(0编辑  收藏  举报