Firstly, unlike branches, git does not track remote tags other than local tags. After sampling, they are indistinguishable.
- updates the local tag (even if the manual does not report)
- does not update the local tag
git fetchgit fetch --prunegit fetch --prune --force
Tag update / rewrite is as follows:
From git:path/name - [tag update] my_tag -> my_tag
This works for light and annotated tags, even mixed ones. That is: an annotated tag can be overwritten with light and vice versa.
I used git version 2.7.4
Robert Siemer
source share