Skip to content

Instantly share code, notes, and snippets.

@vladak
Last active October 31, 2017 20:41
Show Gist options
  • Save vladak/a69956dd6afc982deb66c3594cce86d4 to your computer and use it in GitHub Desktop.
Save vladak/a69956dd6afc982deb66c3594cce86d4 to your computer and use it in GitHub Desktop.
Tagging unix-prog-in-c
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