/git-id

Show version or identity of git repository

Primary LanguageShell

git-id

Show version or identity of git repository

Result Format

git-id

[repo name]-[branch]-[hash(head 8 digits)]-r[total revisions]

$ git-id
git-id-master-e6835ae5-r2

git-id2

[closest tag]-[commits since tag]-g[hash(head 7 digits)]

$ git-id2
v1.0-3-g1b0691d