Git: set default branch name to main

This commit is contained in:
DuckDuckWhale 2021-07-24 21:55:35 -07:00
parent 327bbe378f
commit 77ec97ffdb
Signed by: DuckDuckWhale
GPG Key ID: E4B9FC170FFD71CE

View File

@ -4,5 +4,6 @@ git config --global alias.tree 'log --graph --oneline --decorate'
git config --global core.pager 'less -x1,5' git config --global core.pager 'less -x1,5'
git config --global core.quotePath false git config --global core.quotePath false
git config --global credential.helper 'cache --timeout=7200' git config --global credential.helper 'cache --timeout=7200'
git config --global init.defaultBranch main
git config --global pull.ff only git config --global pull.ff only
git config --global rerere.enabled true git config --global rerere.enabled true