git: set default branch
1 file 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";