User Tools

Site Tools


tips:linux:gitrenametag

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tips:linux:gitrenametag [2015/10/22 00:32] (current)
erik created
Line 1: Line 1:
 +====== How to rename a Git tag? ======
  
 +To **rename** a Git tag from ''​old''​ to ''​new'':​
 +
 +  git tag new old
 +  git tag -d old
 +  git push origin :​refs/​tags/​old
 +  git push --tags
 +  ​
 +Found [[http://​stackoverflow.com/​questions/​1028649/​how-do-you-rename-a-git-tag/​5719854#​5719854|here]].
tips/linux/gitrenametag.txt · Last modified: 2015/10/22 00:32 by erik