warning: LF will be replaced by CRLF in 1.txt. The file will have its original line endings in yo...

Q:What is CRLF & LF?

A:The CRLF stands for Carriage Return Line Feed, and the LF stands for Line Feed.

In windows system, wo should go to next line with CRLF, and in other systems like unix, mac, we should go to next line with LF.
So in git bash, when adding files to local respository, it will raise this warning.

Reference:

https://www.jianshu.com/p/b03ad01acd69

你可能感兴趣的:(warning: LF will be replaced by CRLF in 1.txt. The file will have its original line endings in yo...)