git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Next: Orgad Shaneh via GitGitGadget
Message 1 of 9 in “fetch: clobber existing tags with --prune-tags”
  1. 0/2 fetch: clobber existing tags with --prune-tagsOrgad Shaneh via GitGitGadget, Feb 15, 2026
  2. 1/2 fetch: add a test for --force flagOrgad Shaneh via GitGitGadget, Feb 15, 2026
  3. 2/2 fetch: clobber existing tags with --prune-tagsOrgad Shaneh via GitGitGadget, Feb 15, 2026
  4. Orgad ShanehMar 18, 2026
  5. Junio C HamanoMar 21, 2026
  6. Orgad ShanehMar 26, 2026
  7. Orgad ShanehSep 13, 2026
  8. Junio C HamanoSep 13, 2026
  9. Orgad ShanehOct 6, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.