Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 37 You must be signed in to star a gist
  • Fork 15 You must be signed in to fork a gist
  • Save justinfrench/89712 to your computer and use it in GitHub Desktop.
Save justinfrench/89712 to your computer and use it in GitHub Desktop.
git tag -am "annotation goes here" tagname_goes_here # cut a tag
git tag -d tagname_goes_here # burn it
git tag -am "annotation goes here" tagname_goes_here # cut another tag
git push --tags # push tags to remote
git push origin :refs/tags/tagname_goes_here # delete tag from remote
@kcw-grunt
Copy link

Tx!

@shiqimei
Copy link

Thanks!

@agespinosa
Copy link

Excelente, muchas gracias

@murku
Copy link

murku commented Apr 1, 2020

thanks!:)

@agustinpfs
Copy link

gracias!

@buriXzura
Copy link

arigato, senpai!!

@harikalyank
Copy link

You can use like below as well

git push --tags origin DEVOPS-118

Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 581 bytes | 581.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
To bitbucket.org:exium-c2/n3iwf-n2ctxt.git
da55668..2d3314d DEVOPS-118 -> DEVOPS-118

  • [new tag] test-v0.1 -> test-v0.1
  • [new tag] test-v1.0 -> test-v1.0
  • [new tag] test-v1.1 -> test-v1.1
  • [new tag] test-v1.2 -> test-v1.2

Thanks,
Hariprasad dvpsk

@DavidAlejandro18
Copy link

Excelente, gracias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment