@matheusbsbs / matheus-bagliano / commits / 846b8f681a
Fork 0

Documentation: explain the meaning of "-g" in git-describe output

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Markus Heidelberg committed Mar 22, 2010 at 21:45 UTC 846b8f681a0a75cec2b930007c84e98346940459
1 file changed +3
Documentation/git-describe.txt
+3
@@ -105,6 +105,9 @@ The number of additional commits is the number
105 of commits which would be displayed by "git log v1.0.4..parent".
106 The hash suffix is "-g" + 7-char abbreviation for the tip commit
107 of parent (which was `2414721b194453f058079d897d13c4e377f92dc6`).
108 +The "g" prefix stands for "git" and is used to allow describing the version of
109 +a software depending on the SCM the software is managed with. This is useful
110 +in an environment where people may use different SCMs.
111
112 Doing a 'git describe' on a tag-name will just show the tag name:
113