aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2022-05-01 11:15:16 +0200
committerDavid Runge <dave@sleepmap.de>2022-05-01 16:17:46 +0200
commit1eb85c5c993ca4ee8393c940985933e10bbc45e5 (patch)
tree471634c94c8459ab6809c792d61a1939848bea7f
parentb65fd6298ae1b34cf5ab08ff319032576289ae45 (diff)
downloaddotfiles-1eb85c5c993ca4ee8393c940985933e10bbc45e5.tar.gz
dotfiles-1eb85c5c993ca4ee8393c940985933e10bbc45e5.tar.bz2
dotfiles-1eb85c5c993ca4ee8393c940985933e10bbc45e5.tar.xz
dotfiles-1eb85c5c993ca4ee8393c940985933e10bbc45e5.zip
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.
-rw-r--r--.config/git/config6
1 files changed, 6 insertions, 0 deletions
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