[git] set default branch to main
change
commit 52e0e2c47706843b5ec98f0744edb919de33a66b
author Alpha Chen <alpha@kejadlen.dev>
date
parent f55a8eb1
diff --git a/.gitconfig b/.gitconfig
index 453a68cb..0f43ee14 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -53,6 +53,7 @@
 	trustExitCode = true
 [init]
 	templatedir = ~/.git_templates
+	defaultBranch = main
 [diff]
 	algorithm = patience
 	tool = icdiff