dotfiles/linux/gitconfig.platform

15 lines
618 B
Plaintext

[code]
editor = vim
[core]
# Don't change any line endings. That means if a file has CRLF line endings
# the carriage return will stay. I'm only worknig with LF line endings on
# Windows now except for .bat files which are forced to have CRLF via
# per-project editorconfig and gitattribute files. I want those files to
# still have CRLFs when modified on Linux.
#
# I used these posts for reference:
# https://markentier.tech/posts/2021/10/autocrlf-true-considered-harmful/
# https://troyready.com/blog/git-windows-dont-convert-line-endings.html
#
autocrlf = false