From e2baf15fe6874c2853f3c9d12dd02aede783fa27 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Fri, 31 Mar 2023 19:45:20 +0200 Subject: [PATCH] Configure default branch name for git --- home/adrielus/features/cli/git.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/adrielus/features/cli/git.nix b/home/adrielus/features/cli/git.nix index f76cf21..e9f3221 100644 --- a/home/adrielus/features/cli/git.nix +++ b/home/adrielus/features/cli/git.nix @@ -13,6 +13,7 @@ hub.protocol = "ssh"; core.editor = "nvim"; rebase.autoStash = true; + init.defaultBranch = "main"; # Sign commits using ssh gpg.format = "ssh";