Prep work before we use the new setup

This commit is contained in:
2023-06-13 15:45:28 -04:00
parent c7845e62d9
commit 0ee1e7666e
11 changed files with 22 additions and 38 deletions

View File

@@ -1,5 +1,4 @@
[include]
path = ~/.gitconfig.platform
path = ~/.gitconfig.private
[init]
defaultBranch = master
@@ -7,11 +6,25 @@
summary = true
tool = vimdiff
[core]
excludesfile = ~/.gitignore
excludesfile = ~/.gitignore.global
hookspath = ~/.git_hooks
preloadindex = true
fscache = true
editor = vim
# I used to have this set to true, which would result in checked out files
# being converted to CRLF line endings and commits converting to LF. I'm
# tired of this conversion shit though so I'm turning it off and will be
# enforcing LF line endings via a combination of editorconfig and
# gitattribute files on a per-project basis. This should make sure that
# anyone contributing to my projects will be committing LF line endings.
# The only exception is that the gitattributes files will commit batch
# files with CRLF to avoid Windows glitches.
#
# 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
[push]
default = upstream
[pull]