all repos — nixfiles @ 39628c1820e21bb6b0e13f9e3b7e0792e79f97d9

System and user configuration, managed by nix and home-manager

git: set default branch
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 17:41:12 +0200
commit

39628c1820e21bb6b0e13f9e3b7e0792e79f97d9

parent

c4b48c543909da44843a636d8b175df4f975c7c5

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M user/settings/git.nixuser/settings/git.nix
@@ -14,6 +14,9 @@ light = true;       };
     };
     extraConfig = {
+      init = {
+        defaultBranch = "main";
+      };
       ghq = {
         root = "${config.home.homeDirectory}/projects";
         user = "alanpearce";