Le 15 sept. 2026 à 11:33, André Kießling [off-list ref] a écrit :
Hi there, think I found a bug...
In https://git-scm.com/docs/git-push I find:
quoted
The + is optional and does the same thing as --force.
The fetch documentation refers to push for the details of <refspec> so I assume, the statement also holds for fetch refspecs.
However, this is not true:
When I run `git fetch origin --tags --force` it will force update tags that changed on remote (as expected) but will NOT delete local tags.
When I run `git fetch origin` with config set to `remote.origin.fetch = +refs/tags/*:refs/tags/*` it will delete my local tags as if prune was set.
I'm using Git 2.54.0.windows.1
I think this behavior is described in git-fetch(1) in the PRUNING
section. It’s a bit opaque to me :) Still, you might take a look
there and see what you find.