From 093176d10b4bf116178cfa42059f62054cb6387f Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 30 Dec 2024 14:53:48 +0800 Subject: [PATCH] feature: ignore `remote.{REMOTE}.mirror` settings (#844) (cherry picked from commit 9164f1b7340f68e00fea99bf9bac67734062f930) --- src/Commands/Push.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Push.cs b/src/Commands/Push.cs index 69b859ab..da850229 100644 --- a/src/Commands/Push.cs +++ b/src/Commands/Push.cs @@ -12,7 +12,7 @@ namespace SourceGit.Commands Context = repo; TraitErrorAsOutput = true; SSHKey = new Config(repo).Get($"remote.{remote}.sshkey"); - Args = "push --progress --verbose "; + Args = $"-c remote.{remote}.mirror=false push --progress --verbose "; if (withTags) Args += "--tags ";