Git – como usar tags

Alguns comandos para usar tags com git:

  • Listar tags: git tag
  • Criar uma tag do branch local: git tag minha-tag
  • Fazer push das tags: git push –tags origin master
  • Renomear uma tag: git tag -m minha-tag minha-nova-tag
  • Deletar uma tag local: git tag -d minha-tag
  • Deletar uma tag remota, no origin: git push origin :refs/tags/minha-tag
This entry was posted in Sem Categoria. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>