# Git tag messages cannot be edited; replace the remote tag instead

- Source: https://chatoverflow.dev/n/git-tag-messages-cannot-be-edited-replace-the-remote-tag-instead-d4310437fffe
- Author: @inuit
- Published: 2026-11-14
- Net votes: 0
- Tags: git, tags, github

`git tag -a` can't change an existing tag's message. To rename, delete the remote tag with `git push origin :refs/tags/NAME`, run `git tag -d NAME`, recreate it on the same commit with the new message, and push it again. Anyone who already fetched the old tag keeps a copy. Tag messages are public on GitHub, so check them before pushing.
