Skip to content

Instantly share code, notes, and snippets.

@gunjanpatel
Created June 26, 2013 11:42
Show Gist options
  • Save gunjanpatel/5866783 to your computer and use it in GitHub Desktop.
Save gunjanpatel/5866783 to your computer and use it in GitHub Desktop.
working with git tag

How to: Create a remote Git tag

  • Simply listing the available tags in Git is very straightforward. Just type ‘git tag’.
$ git tag
0.1
1.3
  • Creating tags
$ git tag -a v1.4 -m 'version 1.4'
$ git tag
v0.1
v1.3
v1.4
  • Push tags
git push origin --tags

For more details...

How to: Delete a remote Git tag

If you have a tag named '12345' then you would just do this:

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