Home > database >  Error while adding file to staging area using Git
Error while adding file to staging area using Git

Time:03-15

enter image description here

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:

And in your case, as commented, add node_modules to your .gitignore, as it is usually done in Node project .gitignore.

  •  Tags:  
  • git
  • Related