git

Adding a tag

git tag -a prod-0.9.7 -m 'add analytics'

Adding a tag

We use tags to mark release points. Tags are easy to add:

git tag -a prod-0.9.7 -m "add analytics"

Tags do not get pushed with: git push
-- tag option must be added to push the tags:

git push --tag

It is also easy to remove the tags:

git tag -d prod-0.9.7
git push origin :refs/tags/prod-0.9.7

Subscribe to The infinite monkey theorem

Get the latest posts delivered right to your inbox