git-rename-tag
Rename a Git tag locally and on the remote
TLDR
Rename a tag
$ git rename-tag [old_name] [new_name]
SYNOPSIS
git rename-tag oldname newname
DESCRIPTION
git rename-tag renames a tag both locally and on the remote. Part of git-extras, it creates the new tag pointing at the old tag's commit, deletes the old tag locally, then pushes the new tag and the old tag's deletion to `origin`.
INSTALL
sudo apt install git
sudo dnf install git
sudo pacman -S git
sudo apk add git
sudo zypper install git
brew install git
nix profile install nixpkgs#git
CAVEATS
Always pushes to the remote named `origin`; it does not accept a different remote as an argument.
SEE ALSO
git-tag(1), git-extras(1)