From: W. Trevor King Date: Thu, 4 Aug 2011 03:13:41 +0000 (-0400) Subject: Add `--tags` to `git name-rev` example. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6a842023bf38380465c08bb6145f18e8266addb9;p=blog.git Add `--tags` to `git name-rev` example. --- diff --git a/posts/Git/notes.org b/posts/Git/notes.org index 8b9f18f..82ff927 100644 --- a/posts/Git/notes.org +++ b/posts/Git/notes.org @@ -738,7 +738,7 @@ previous commit ** Find out if a change is part of a release - : $ git name-rev 33db5f4d9027a10e477ccf054b2c1ab94f74c85a + : $ git name-rev --tags 33db5f4d9027a10e477ccf054b2c1ab94f74c85a : 33db5f4d9027a10e477ccf054b2c1ab94f74c85a tags/v0.99~940 Now you are wiser, because you know that it happened 940 revisions