about summary refs log tree commit diff
path: root/modules/shell/git
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-04-14 22:16:53 +0000
committerAlyssa Ross <hi@alyssa.is>2021-04-14 22:16:53 +0000
commit5f9001c0991e96dcb480d785308f40e99a1855e9 (patch)
tree369d9c61c5d81f807b94dfd85e9a3444b1531449 /modules/shell/git
parentb8c0a71ad026ca831dc1643f22533a96e1e65d55 (diff)
downloadnixlib-5f9001c0991e96dcb480d785308f40e99a1855e9.tar
nixlib-5f9001c0991e96dcb480d785308f40e99a1855e9.tar.gz
nixlib-5f9001c0991e96dcb480d785308f40e99a1855e9.tar.bz2
nixlib-5f9001c0991e96dcb480d785308f40e99a1855e9.tar.lz
nixlib-5f9001c0991e96dcb480d785308f40e99a1855e9.tar.xz
nixlib-5f9001c0991e96dcb480d785308f40e99a1855e9.tar.zst
nixlib-5f9001c0991e96dcb480d785308f40e99a1855e9.zip
modules/git: set default branch to main
This seems to be the direction things are moving.
Diffstat (limited to 'modules/shell/git')
-rw-r--r--modules/shell/git/config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/shell/git/config.in b/modules/shell/git/config.in
index 60e472de5a73..1879ea4dd996 100644
--- a/modules/shell/git/config.in
+++ b/modules/shell/git/config.in
@@ -51,6 +51,8 @@
     autocorrect = 1
 [hub]
     protocol = ssh
+[init]
+    defaultBranch = main
 [merge]
     conflictstyle = diff3
     tool = opendiff