Featured image of post Excluir tags no git

Excluir tags no git

Excluir uma tag local

  1. Verifique as tags locais existentes com git tag.
  2. Exclua a tag com git tag -d v0.1.0. (Especifique a tag que você deseja excluir no lugar de v0.1.0)

Excluir uma tag remota

  1. Verifique as tags remotas existentes com git ls-remote --tags.
  2. Exclua a tag remota existente com git push origin --delete v0.1.0. (Especifique a tag que você deseja excluir no lugar de v0.1.0)

Referência

gitでtagをリモートとローカルで削除する方法!

Licensed under CC BY-NC-SA 4.0
comments powered by Disqus
Hugo で構築されています。
テーマ StackJimmy によって設計されています。