Git - Disable autocrlf

If you’re on Windows, Git has almost certainly been silently messing with your line endings since the day you installed it. TLDR: The fix is this one command: git config --global core.autocrlf false It’s on by default. It’s a terrible default. Mainly due to historical reasons that no longer exist. What core.autocrlf Does In short, Windows has historically used CRLF ( \r\n ) as its line ending…