Saturday, June 9, 2012

Tagging in Git

To view tags:
- git tag

To add a tag:
- git -a tag vX.X

To delete a tag:
- git tag -d vX.X

Note that this only operates on your local repository, and is not pushed to the remote repository during a normal "git push" operation.

To push your tags to the remote repository as well:
- git push --tags

No comments:

Post a Comment