From 39628c1820e21bb6b0e13f9e3b7e0792e79f97d9 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 10 May 2024 17:41:12 +0200 Subject: git: set default branch --- user/settings/git.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'user/settings') 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"; -- cgit 1.4.1