Skip to content

Commit 093176d

Browse files
committed
feature: ignore remote.{REMOTE}.mirror settings (#844)
(cherry picked from commit 9164f1b7340f68e00fea99bf9bac67734062f930)
1 parent 7f268a6 commit 093176d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/Push.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public Push(string repo, string local, string remote, string remoteBranch, bool
1212
Context = repo;
1313
TraitErrorAsOutput = true;
1414
SSHKey = new Config(repo).Get($"remote.{remote}.sshkey");
15-
Args = "push --progress --verbose ";
15+
Args = $"-c remote.{remote}.mirror=false push --progress --verbose ";
1616

1717
if (withTags)
1818
Args += "--tags ";

0 commit comments

Comments
 (0)