Now I’m attempting to add my file to the git staging area but each time i do it I get:
$ git add .
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory
I don’t want it to be replaced. I want it to remain LF. Any help much appreciated. Am I mistranslating this message. I don’t know. Help much appreciated.
Sorry. I was going based on your screenshot. My apologies.
Not my experience, but it’s one debate I’ve never understood anyway. For me, it falls right into the appropriate spacing for tabs argument. Though I get it’s a Unix/Windows thing as well.
Advantage of using CRLF is that this format is displayed correct by all operating systems and all editors because on Linux, Mac etc the ctrl is simply ignored. Other way around it’s not so easy because if you open a file with LF only in e.g. Notepad you will have no line break.