LinuxCommandLibrary

git-rename-tag

Rename a Git tag locally and on the remote

TLDR

Rename a tag

$ git rename-tag [old_name] [new_name]
copy

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, deletes the old one, and updates the remote in one step.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community