DEV Community

Discussion on: ELI5: The git error - 'CRLF would be replaced by LF in...'

Collapse
 
hiboabd profile image
Hibo Abdilaahi

Wow this was super clear! Thanks so much I understand it so much better now.

Only puzzling thing is that I was only using a Mac so not sure why this error happened as I would only have line feed spacing right? Will probably do a bit more googling around it but thanks again! Super helpful 🤩

Collapse
 
powerc9000 profile image
Clay Murray

Probably something to do with getting source code from a windows computer at some point I would guess? In essence likely some developer worked on windows and then it messed up some line endings for a particular file or files. So now git is telling you about it even on MacOS