Git notes (3) – tagging

To tag all files at a current point in time (e.g. to track a release), use:

git tag -a tagname -m "tag description"

To view current tags:

git tag

To show commits associated with a tag:

git show tagname

To push a tag to a remote repo:

git push remotename tagname

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.