From 77ec97ffdb496444aacfe292521166707513f88b Mon Sep 17 00:00:00 2001 From: DuckDuckWhale Date: Sat, 24 Jul 2021 21:55:35 -0700 Subject: [PATCH] Git: set default branch name to main --- git/git.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/git/git.sh b/git/git.sh index 0778d11..f2ee4ea 100755 --- a/git/git.sh +++ b/git/git.sh @@ -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.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