summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/git.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/user/settings/git.nix b/user/settings/git.nix
index e2965724..c0170b4b 100644
--- a/user/settings/git.nix
+++ b/user/settings/git.nix
@@ -14,6 +14,9 @@
       };
     };
     extraConfig = {
+      init = {
+        defaultBranch = "main";
+      };
       ghq = {
         root = "${config.home.homeDirectory}/projects";
         user = "alanpearce";