What exactly should I write in the terminal to global config my git to save all files always with line endings = LF. I work on Windows but most of my co-workers use macOS and I want to save all my work on my PC with line endings = LF setting
I found this tutorial Dealing with line endings - GitHub help, but I still don't know what command should I put in the terminal to configure git to save all cloned projects on my drive with that setting.
Can you please help me?
I tried:
git config --global core.autocrlf true
git config --global core.autocrlf true text eol=lf
And it didn't work.