Getting this error while using command - git add .
I have tried the solution - git config core.autocrlf true
But its not working. Anyone suggest a better solution.
CodePudding user response:
Regarding the warning message itself ("Windows git "warning: LF will be replaced by CRLF", is that warning tail backward?"), always use:
git config --global core.autocrlf false- a
.gitattributesfile withcore.eoldirective
And in your case, as commented, add node_modules to your .gitignore, as it is usually done in Node project .gitignore.

