– git config --system core.autocrlf false # per-system solution
– git config --global core.autocrlf false # per-user solution
– git config --local core.autocrlf false # per-project solution
Ref: https://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf