-
Notifications
You must be signed in to change notification settings - Fork 37
Tagging policy
thejonas edited this page Oct 1, 2012
·
1 revision
Tags are in the format:
{purpose}-yyyy-mm-dd.nn
For deployment purposes, for example, we use:
deploy-2012-09-24.01
If an additional tag is needed on the same date, increase the tag number, eg.
deploy-2012-09-24.02
(if you have created 99 tags on the same date and need more, you are required to stop and only continue the next day once you have had a chance to get some rest and reflect on what is going on...)
To tag the current branch, use the command:
git tag -a <tagname> -m <tag description>
git push origin <tagname> # pushes the tag to repository