Set Linux git config's autocrlf to input mode

This commit is contained in:
Michael Campagnaro 2021-12-02 12:31:46 -05:00
parent cbdb7f51aa
commit afc89a1725
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
[code] [code]
editor = vim editor = vim
[core] [core]
autocrlf = true # Don't change LF line endings and if a CRLF is found then change it to LF on a commit.
autocrlf = input

View File

@ -1,4 +1,5 @@
[code] [code]
editor = /usr/bin/vim editor = /usr/bin/vim
[core] [core]
# Convert unix LF to Windows CRLF when checking out and vice-versa when adding files to the index.
autocrlf = true autocrlf = true