Return to Snippet

Revision: 15493
at July 7, 2009 16:54 by jturmel


Initial Code
# Create a tag on most current commit
git tag -a v1.0

# Create a tag on a specific commit
git tag -a v1.0 ec78b6b0778a1e02cb9554ce2dca4fcdd7a08a7d

# Push tags to remote repository
git push --tags

# Push specific tag to remote repository
git push origin :tag_name

Initial URL

                                

Initial Description
This is for creating an annotated tag in Git.

Initial Title
Create and push an annotated tag in Git

Initial Tags
git

Initial Language
Bash