From 1f158eeded62b87043211fb441621261e331cc9b Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 12 Nov 2024 09:27:53 +0800 Subject: [PATCH] refactor: use `--tags` instead of `--force` for `git fetch` command if `Fetch without tags` is turned off (#684) Signed-off-by: leo --- src/Commands/Fetch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Fetch.cs b/src/Commands/Fetch.cs index 08d2d1c6..834cd7fc 100644 --- a/src/Commands/Fetch.cs +++ b/src/Commands/Fetch.cs @@ -16,7 +16,7 @@ namespace SourceGit.Commands if (noTags) Args += "--no-tags "; else - Args += "--force "; + Args += "--tags "; if (prune) Args += "--prune ";