]> git.wh0rd.org - home.git/commitdiff
gitconfig: set default branch to "main"
authorMike Frysinger <vapier@gentoo.org>
Thu, 10 Sep 2020 17:38:14 +0000 (13:38 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 10 Sep 2020 17:38:14 +0000 (13:38 -0400)
.gitconfig

index b3201a925db28b5845bf0ac0c97440dbb6ded26a..61f69994a51fa3033adfeaee13aba1c2b83cccf3 100644 (file)
        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
        suppressfrom = true
        suppresscc = author
        smtpserver = localhost:1111
+       transferEncoding = 8bit
+#      composeencoding = utf-8
+       assume8bitEncoding = 8bit