--- title: "Git Tag Mini Cheat Sheet" kind: article slug: git-tag-mini-cheat-sheet created_at: 2009-09-04 tags: - git - cheat sheet - tags --- Just as a kind of mini cheat sheet for using git tags: Adding a tag:
git tag tag_name
git tag
git push origin --tags
or git push origin :tag_name
git push
doesn't push tags.git tag -d tag_name
git tag
git push origin :refs/tags/tag_name
git push --tags
doesn't push deleted tags.