From d475051f884e7b7b80d80b74d4b714ab80cb6e0e Mon Sep 17 00:00:00 2001 From: electria Date: Sun, 26 Apr 2026 08:37:25 -0700 Subject: [PATCH] feat(defaults/git): remove unneeded configs The credential helper set like this took a little system resources, and should be generally configured on a case-by-case basis. push.autoSetupRemote isn't particularly useful, as git does tell you what you have to do anyway, and using it can cause you to push to the wrong place. --- defaults/git.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/defaults/git.nix b/defaults/git.nix index b90c35a..571cc49 100644 --- a/defaults/git.nix +++ b/defaults/git.nix @@ -28,9 +28,6 @@ in config = { init.defaultBranch = "main"; core.compression = 9; # max - credential.helper = "cache"; - - push.autoSetupRemote = true; # otherwise git suggests changing the config # which two people I know have done without understanding