Git - Line Ending

Default setting for Windows OS is globally configured like so:

git config --global core.autocrlf true

And configured like the following on Linux and Mac OS:

git config --global core.autocrlf input

Sources:

  • https://simontech.me/support/knowledge-base/59-git/167-line-endings-and-difference-in-os