Created
November 6, 2013 00:15
-
-
Save deryni/7328699 to your computer and use it in GitHub Desktop.
'git describe --contains --abbrev=0' doesn't seem to work.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git --version | |
git version 1.8.2.1 | |
$ git lol | |
* f09682e (HEAD, tag: second-tag, master) add c | |
* 86db014 add b | |
* b8c7c3e (tag: initial-tag) initial | |
$ git describe 86db014 | |
initial-tag-1-g86db014 | |
$ git describe --abbrev=0 86db014 | |
initial-tag | |
$ git describe --contains 86db014 | |
second-tag~1 | |
$ git describe --contains --abbrev=0 86db014 | |
second-tag~1 | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment