git: set default branch
Alan Pearce alan@alanpearce.eu
Fri, 10 May 2024 17:41:12 +0200
1 files changed, 3 insertions(+), 0 deletions(-)
jump to
M user/settings/git.nix → user/settings/git.nix
@@ -14,6 +14,9 @@ light = true; }; }; extraConfig = { + init = { + defaultBranch = "main"; + }; ghq = { root = "${config.home.homeDirectory}/projects"; user = "alanpearce";