浏览代码

git: default branch to "main"

raylu 5 年之前
父节点
当前提交
4d550d28d8
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      gitconfig

+ 4 - 0
gitconfig

@@ -64,5 +64,9 @@
 	ff = merge --ff-only
 	put = !git-push && git-push --tags
 	pushf = push --force-with-lease
+
 [protocol]
 	version = 2
+
+[init]
+	defaultBranch = main