From a73678b2a83c0912c667340dce8c509d4f87f658 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 8 Aug 2024 22:46:44 -0400 Subject: [PATCH] git: Prune deleted branches by default Avoids unnecessary overhead when dealing with lots of branches. --- home/git.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/git.nix b/home/git.nix index 3a676649..fbf35541 100644 --- a/home/git.nix +++ b/home/git.nix @@ -41,6 +41,7 @@ push.default = "simple"; pull.rebase = true; + fetch.prune = true; branch.autosetuprebase = "always"; init.defaultBranch = "master"; rerere.enabled = true;