LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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 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
copy
sudo dnf install git
copy
sudo pacman -S git
copy
sudo apk add git
copy
sudo zypper install git
copy
brew install git
copy
nix profile install nixpkgs#git
copy

CAVEATS

Always pushes to the remote named `origin`; it does not accept a different remote as an argument.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid