Skip to content

Commit 78c0d8d

Browse files
committed
fix: both --tags and --no-tags are used in git pull command
Signed-off-by: leo <[email protected]>
1 parent 81bbe11 commit 78c0d8d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Commands/Pull.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ public Pull(string repo, string remote, string branch, bool useRebase, bool noTa
1111
Context = repo;
1212
TraitErrorAsOutput = true;
1313
SSHKey = new Config(repo).Get($"remote.{remote}.sshkey");
14-
Args = "pull --verbose --progress --tags ";
14+
Args = "pull --verbose --progress ";
1515

1616
if (useRebase)
17-
Args += "--rebase ";
17+
Args += "--rebase=true ";
18+
1819
if (noTags)
1920
Args += "--no-tags ";
2021

0 commit comments

Comments
 (0)