From 1eb85c5c993ca4ee8393c940985933e10bbc45e5 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 1 May 2022 11:15:16 +0200 Subject: git: Sign all commits and switch default branch .config/git/config: Show PGP signatures in logs. Switch to "main" as default branch (for new repos). Sign all commits by default. --- .config/git/config | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.config/git/config') diff --git a/.config/git/config b/.config/git/config index bca3150..e6f60dd 100644 --- a/.config/git/config +++ b/.config/git/config @@ -123,3 +123,9 @@ # Remember my merges # http://gitfu.wordpress.com/2008/04/20/git-rerere-rereremember-what-you-did-last-time/ enabled = true +[init] + defaultBranch = main +[log] + showSignature = true +[commit] + gpgSign = true -- cgit v1.2.3-70-g09d2