summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2021-01-11 11:00:25 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2021-01-11 11:00:25 +0000
commit434aee5de456ae6da885d4a274bc11778f57e7d0 (patch)
tree331d72b06c418eee798d2689bfc87eee37a1785f
parent4761c61d15f0a3e2570735ccf5597f8b8aeba0e2 (diff)
git: Initialize new repos with a `main' branch
-rw-r--r--git/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/git/config b/git/config
index b5769b5..0205c27 100644
--- a/git/config
+++ b/git/config
@@ -15,6 +15,9 @@
[grep]
lineNumber = true
+[init]
+ defaultBranch = main
+
[pull]
ff = only