LF will be replaced by CRLF the next time git touches it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

LF will be replaced by CRLF the next time git touches it

I am using a windows machine, I updated one of the dependency in my project, and it affected the paths of rest of the dependencies also in pnpm-lock.yaml file changing "/" to "\" (How it is in windows file system). I got a git warning before adding to staging area that "LF will be replaced by CRLF the next time git touches it". Any suggestions on how can I fix all the affected paths and changes in pnpm-lock.yaml file

11th Nov 2022, 12:49 PM
Ashutosh Raturi
Ashutosh Raturi - avatar
1 Answer
11th Nov 2022, 1:33 PM
Bob_Li
Bob_Li - avatar