Skip to content

Instantly share code, notes, and snippets.

@muhammadghazali
Created December 20, 2011 19:44
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 muhammadghazali/1502937 to your computer and use it in GitHub Desktop.
Save muhammadghazali/1502937 to your computer and use it in GitHub Desktop.
Git tagging steps. Read the tutorial on: http://gitready.com/beginner/2009/02/03/tagging.html
$ git tag -a v1.0.0 -m "Creating the first official version."
$ git show v1.0.0
$ git describe --tags
# Made changes
$ touch test
# Added changes
$ git add test
# Committed the changes
$ git commit -am "Adding test files"
# See the latest commit for this changes
$ git describe --tags
# Push the tags to remote origin
$ git push --tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment