Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


HPR2634: Git tag and metadata

Hosted by Klaatu on 2018-09-06 00:00:00
Download or Listen

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

Comments



More Information...


Copyright Information

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.