re: ELI5: The git error - 'CRLF would be replaced by LF in...' VIEW POST

re: To make a new line there is an invisible character or characters at the end of the line. In windows it's two characters a "carriage return" (\r) an...

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 🤩


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

Code of Conduct Report abuse