Skip to content

Instantly share code, notes, and snippets.

@kumlali
Last active December 29, 2017 08:01
Show Gist options
  • Save kumlali/349ef3adb128d970d97e149f48e5154d to your computer and use it in GitHub Desktop.
Save kumlali/349ef3adb128d970d97e149f48e5154d to your computer and use it in GitHub Desktop.
Git tagging operations

Git tagging operations

List tags:

git tag

Create a tag:

git tag -a 1.0 -m "The first stable release."

Create a tag and take message from the given file:

git tag -F tag.md 1.0

Push tags:

git push --tags

Delete a tag(local and remote):

git tag -d 1.0
git push origin :1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment