From 7d0fa3b86d2d799a9064909a715492474f406fdb Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 30 Dec 2024 17:34:37 +0800 Subject: [PATCH] Revert "feature: ignore `remote.{REMOTE}.mirror` settings (#844)" This reverts commit 093176d10b4bf116178cfa42059f62054cb6387f. --- 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 da850229..69b859ab 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 = $"-c remote.{remote}.mirror=false push --progress --verbose "; + Args = "push --progress --verbose "; if (withTags) Args += "--tags ";