CmdID

CmdID / Commands

git-tag

Create, list, delete, or verify tags. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create, list, delete, or verify tags. A tag is a static reference to a commit.

List all tags

git tagIdentify

Create a tag with the given name pointing to the current commit

git tag tag_nameIdentify

Create a tag with the given name pointing to a given commit

git tag tag_name commitIdentify

Create an annotated tag with the given message

git tag tag_name --message tag_messageIdentify

Delete the tag with the given name

git tag --delete tag_nameIdentify

Get updated tags from remote

git fetch --tagsIdentify

Push all tags to a remote

git push --tagsIdentify

List all tags which contain a given commit (HEAD if not specified)

git tag --contains commitIdentify