$ git add *
warning: LF will be replaced by CRLF in composer.lock.
The file will have its original line endings in your working directory.

 

$ git config core.autocrlf false

 

$ git config --global core.autocrlf false

 

 

Vlastimil Pošmura, 2020