summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2024-05-10 17:41:12 +0200
committerAlan Pearce2024-05-10 17:41:12 +0200
commit39628c1820e21bb6b0e13f9e3b7e0792e79f97d9 (patch)
treee842d4bb43ce4f61ddb22a2b6cece638a0961dff /user
parentc4b48c543909da44843a636d8b175df4f975c7c5 (diff)
downloadnixfiles-39628c1820e21bb6b0e13f9e3b7e0792e79f97d9.tar.lz
nixfiles-39628c1820e21bb6b0e13f9e3b7e0792e79f97d9.tar.zst
nixfiles-39628c1820e21bb6b0e13f9e3b7e0792e79f97d9.zip
git: set default branch
Diffstat (limited to 'user')
-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";