Git: sign commits and tags by default

This commit is contained in:
DuckDuckWhale 2021-12-31 23:48:40 -08:00
parent 80b1786524
commit a62c13e5e8
Signed by: DuckDuckWhale
GPG Key ID: E4B9FC170FFD71CE

View File

@ -1,9 +1,11 @@
#!/bin/sh
git config --global alias.logtree 'log --graph --oneline --decorate --all'
git config --global alias.tree 'log --graph --oneline --decorate'
git config --global commit.gpgSign true
git config --global core.pager 'less -x1,5'
git config --global core.quotePath false
git config --global credential.helper 'cache --timeout=7200'
git config --global init.defaultBranch main
git config --global pull.ff only
git config --global rerere.enabled true
git config --global tag.gpgSign true