Priyanka patel
Priyanka patel

Reputation: 23

Does 'fatal: LF would be replaced by CRLF' will affect on source code?

I faced fatal: LF would be replaced by CRLF and also resolved using

git config --global core.safecrlf false

I also read so many detail about it on internet and Stackoverflow also.I want to know that does ignoring and resolving this affect the compilation of source code in cross platform projects?

Upvotes: 2

Views: 1809

Answers (1)

gzh
gzh

Reputation: 3596

The eol, LF or CRLF, does no change the compiling result. But for some editors on linux, a '^M' will be shown at the end of line when use CRLF format.

Upvotes: 3

Related Questions