From 7663238d876d358778b06a99843704733e4dcb3a Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Wed, 3 Jul 2024 19:14:12 +0800 Subject: [PATCH] git: enable push.autoSetupRemote --- home/applications/git/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/applications/git/default.nix b/home/applications/git/default.nix index dbc4e25..0c347e4 100644 --- a/home/applications/git/default.nix +++ b/home/applications/git/default.nix @@ -8,7 +8,10 @@ signing.signByDefault = true; signing.key = "91F97D9ED12639CF"; - extraConfig.pull.rebase = true; + extraConfig = { + pull.rebase = true; + push.autoSetupRemote = true; + }; }; programs.gh.enable = true;