Suppose I have committed an annotated tag and pushed it.
- Can I delete it from the remote (& if so how)?
- What are the safety implications of deleting it - i.e. in what situations will it break stuff?
- Is any of that changed if I have already committed other normal commits after it (are annotated commits leaf nodes or do they have children?).
From git docs:
Annotated tags, however, are stored as full objects in the Git database. They’re checksummed; contain the tagger name, email, and date; have a tagging message; and can be signed and verified with GNU Privacy Guard (GPG). It’s generally recommended that you create annotated tags so you can have all this information; but if you want a temporary tag or for some reason don’t want to keep the other information, lightweight tags are available too.
This mention to "lightweight tags" as "temporary tags" makes me wonder if the process to delete "annotated tags" would be different.
- Are the steps to delete a "annotated tag" the same for an "lightweight tag" or anything else is neeed?