Skip to content

Instantly share code, notes, and snippets.

@analistacarlosh
Created August 18, 2016 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save analistacarlosh/de65f521fff8d70d47f3c0039ac71447 to your computer and use it in GitHub Desktop.
Save analistacarlosh/de65f521fff8d70d47f3c0039ac71447 to your computer and use it in GitHub Desktop.
=================================================
Trabalhando com Tag - ref: https://git-scm.com/book/pt-br/v1/Git-Essencial-Tagging
=================================================
Tags Anotadas
Criando uma tag anotada em Git é simples. O jeito mais fácil é especificar -a quando você executar o comando tag:
$ git tag -a v1.4 -m 'my version 1.4'
================================================
Compartilhando Tags
git push origin [nome-tag]
ou
git push origin --tags
Criando branch a partir de uma tag
git branch newbranch v1.0
git checkout -b newbranch v1.0
git tag -d 12345
git push origin :refs/tags/12345
===============
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment