Fix warning: LF will be replaced by CRLF | GIT
Channel: Code SOS
Date: 2020-06-21

This tutorial will help you to get rid of GIT warning: LF will be replaced by CRLF

This happens when developers are working in multiple operating systems. Line breaks are treated differently in different operating systems, therefore, GIT throws warning before converting the LF line endings with CRLF.

I've explained 2 methods of fixing it:

1) Running a command through the terminal for the currently working user
2) Making a global change so that no user gets this warning


#GIT #CRLF #LF