Re:Git Files Hidden in Plain Sight
by remram on Tuesday August 01, 2023 @11:19AM
(#36957119)
It's the second one
[ Parent
| on HN ]
I don't think so. In both cases, there was visible UI of either the new tag or that the tag was changed.
Github shows the updated tag.
git pull --tags shows:
! [rejected] <tag> -> <tag> (would clobber existing tag)
git pull --tags --force updates the tag.You asked about `git fetch`. If you change your question to `git pull --tags` then yes, the answer is different.
git fetch --tags presents the exact same warning/error.
That's right.
> if you 'git fetch', git does not update tags? I would be pretty surprised
This is the comment you replied to:
> By default, most things assume that tags are immutable and won't check for updates to a tag.
You can use options to change from the default. I don't know what point you are now trying to make, but this conversation is getting very laborious.