在使用Git的时候你可能会遇到
you are about to commit crlf line separators...
或者
warning: CRLF will be replaced by LF in...
关于CRLF
和LF
的问题就不赘述了,关键是发现了一个简单粗暴的解决办法!!
然后像正常一样commit即可。
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
意思是跟之前的版本一样,也很简单,随便改一下文件内容,commit即可。