From 7eb21ee4817ab3f16748ec837dadf9666c8ceb66 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Fri, 6 Dec 2024 12:48:06 +0100 Subject: [PATCH] terminal/programs/git: update default branch to main --- home/terminal/programs/git.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/terminal/programs/git.nix b/home/terminal/programs/git.nix index 9d29f3b..58ebc37 100644 --- a/home/terminal/programs/git.nix +++ b/home/terminal/programs/git.nix @@ -9,6 +9,9 @@ }; extraConfig = { push.autoSetupRemote = true; + init = { + defaultBranch = "main"; + }; }; };