User Tools

Site Tools


tips:linux:gitrenametag
no way to compare when less than two revisions

Differences

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


tips:linux:gitrenametag [2015/10/22 00:32] (current) – created erik
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