​welcome to my blog​

使用git add时出现了警告

warning: LF will be replaced by CRLF in weibo_triple.dat.
The file will have its original line endings in your working directory

LF是linux下的换行符, CRLF是windows下的换行符
我是从linux中拷贝了几个文件到windows中, 然后在windows中使用git add, 这一过程中git 自动把LF改成了CRLF