From 284295913b36355da3afb86900d14585b613f6f3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 10 Sep 2020 13:38:14 -0400 Subject: [PATCH] gitconfig: set default branch to "main" --- .gitconfig | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitconfig b/.gitconfig index b3201a9..61f6999 100644 --- a/.gitconfig +++ b/.gitconfig @@ -28,10 +28,10 @@ skip-ensure-authenticated = true squash-uploads = false -#[pager] -# diff = diff-highlight | less -# log = diff-highlight | less -# show = diff-highlight | less +[pager] + diff = diff-highlight | less + log = diff-highlight | less + show = diff-highlight | less [protocol] # https://opensource.googleblog.com/2018/05/introducing-git-protocol-version-2.html @@ -91,6 +91,9 @@ # https://groups.google.com/forum/m/#!topic/binary-transparency/f-BI4o8HZW0 fsckobjects = true +[init] + defaultBranch = main + [merge "merge-changelog"] name = GNU-style ChangeLog merge driver driver = /usr/bin/git-merge-changelog %O %A %B @@ -101,3 +104,6 @@ suppressfrom = true suppresscc = author smtpserver = localhost:1111 + transferEncoding = 8bit +# composeencoding = utf-8 + assume8bitEncoding = 8bit -- 2.39.5