[PATCH 0/2] fetch: clobber existing tags with --prune-tags
- From
Orgad Shaneh via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Feb 15, 2026, 20:23 UTC
- Message-ID
- <pull.2200.git.git.1771187016.gitgitgadget@gmail.com>
This was documented but not implemented.
In the flag description: prune local tags no longer on remote and clobber changed tags
In the documentation: ... to prune local tags that don't exist on the remote, and force-update those tags that differ.
Orgad Shaneh (2): fetch: add a test for --force flag fetch: clobber existing tags with --prune-tags
builtin/fetch.c | 2 +- t/t5516-fetch-push.sh | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-)
base-commit: 852829b3dd2fe4e7c7fc4d8badde644cf1b66c74 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2200%2Forgads%2Ffetch-prune-clobber-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2200/orgads/fetch-prune-clobber-v1 Pull-Request: https://github.com/git/git/pull/2200
-- gitgitgadget