GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GIT-RENAME-TAG(1) Git Extras GIT-RENAME-TAG(1)

git-rename-tag - Rename a tag

git-rename-tag <old-tag-name> <new-tag-name>

Rename a tag (locally and remotely)

<old-tag-name>

The name of the tag you want to rename.

<new-tag-name>

The new name of the tag.

$ git tag test
$ git push --tags
Total 0 (delta 0), reused 0 (delta 0)
To git@myserver.com:myuser/myrepository.git
 * [new tag]         test -> test
$ git tag
test
$ git rename-tag test test2
Deleted tag ´test´ (was 1111111)
Total 0 (delta 0), reused 0 (delta 0)
To git@myserver.com:myuser/myrepository.git
 * [new tag]         test2 -> test2
remote: warning: Deleting a non-existent ref.
To git@myserver.com:myuser/myrepository.git
 - [deleted]         refs/tag/test
$ git tag
test2

Written by Jesús Espino <jespinog@gmail.com>

<https://github.com/tj/git-extras/issues>

<https://github.com/tj/git-extras>
October 2017

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.