mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
fix: both --tags
and --no-tags
are used in git pull
command
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
81bbe11345
commit
78c0d8d334
1 changed files with 3 additions and 2 deletions
|
@ -11,10 +11,11 @@ namespace SourceGit.Commands
|
|||
Context = repo;
|
||||
TraitErrorAsOutput = true;
|
||||
SSHKey = new Config(repo).Get($"remote.{remote}.sshkey");
|
||||
Args = "pull --verbose --progress --tags ";
|
||||
Args = "pull --verbose --progress ";
|
||||
|
||||
if (useRebase)
|
||||
Args += "--rebase ";
|
||||
Args += "--rebase=true ";
|
||||
|
||||
if (noTags)
|
||||
Args += "--no-tags ";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue