Search

Home > Hacker Public Radio > HPR2634: Git tag and metadata
Podcast: Hacker Public Radio
Episode:

HPR2634: Git tag and metadata

Category: Technology
Duration: 00:00:00
Publish Date: 2018-09-05 19:00:00
Description:

Tag a commit:

$ git tag 0.1
$ git tag
0.1

Delete a tag:

$ git tag -d 0.1

Get the latest commit hash:

$ git rev-list --tags --max-count=1
94c5715694c5715687a962008dd71191460fc4e32370425a

Get any tag on a commit:

$ git describe --tags 94c5715
0.1
Total Play: 0

Users also like

100+ Episodes
Seginfocast .. 100+     20+