Disable git EOL Conversions

One simple solution is:

  • make sure core.autocrlf is set to false for all repos:
    git config --global core.autocrlf false

    • Git 2.16 (Q1 2018) and above, run git add --renormalize .
    • otherwise, re-clone your repo, and check no EOL conversion is done.

If there are conversions automatically done, that mean a .gitattributes core.eol directive is there within the repo.

With Git 2.8+ (March 2016), check if there are still eol transformation with:

git ls-files --eol

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)