From 46b224a1114fc914bfbe2ed83c35dba0d4f233ec Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Thu, 17 Dec 2020 20:16:25 +0200 Subject: [PATCH] [git] git config --global init.defaultBranch main --- git/gitconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git/gitconfig b/git/gitconfig index b31aaa2..fb45607 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -23,3 +23,6 @@ [alias] unstage = restore --staged initial-commit = commit --message 'initial commit' --allow-empty + +[init] + defaultBranch = main