Last active
October 31, 2017 20:41
-
-
Save vladak/a69956dd6afc982deb66c3594cce86d4 to your computer and use it in GitHub Desktop.
Tagging unix-prog-in-c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use numbered tags, starting with v0 | |
Optionally, append a description, e.g. v10-translated-foo | |
Create and push a tag like so: | |
git tag vXYZ | |
git push origin tagXYZ | |
It is recommended to push concrete tag to avoid pushing lightweight/local tags. | |
Optionaly, use annotated tags (https://stackoverflow.com/questions/11514075/what-is-the-difference-between-an-annotated-and-unannotated-tag) like so: | |
git tag -a vXYZ -m "message" | |
git push origin tagXYZ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment