Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: explain the meaning of "-g" in git-describe output
author
Markus Heidelberg
<markus.heidelberg@web.de>
Mon, 22 Mar 2010 20:45:33 +0000
(21:45 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 24 Mar 2010 18:31:45 +0000
(11:31 -0700)
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-describe.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
0b3dcfe
)
diff --git
a/Documentation/git-describe.txt
b/Documentation/git-describe.txt
index 6fc5323ee6a9d3cd22f8c68ebaf514f26c82f684..7ef9d51577594ae6a27f71bae251d6ee2f52befa 100644
(file)
--- a/
Documentation/git-describe.txt
+++ b/
Documentation/git-describe.txt
@@
-105,6
+105,9
@@
The number of additional commits is the number
of commits which would be displayed by "git log v1.0.4..parent".
The hash suffix is "-g" + 7-char abbreviation for the tip commit
of parent (which was `2414721b194453f058079d897d13c4e377f92dc6`).
+The "g" prefix stands for "git" and is used to allow describing the version of
+a software depending on the SCM the software is managed with. This is useful
+in an environment where people may use different SCMs.
Doing a 'git describe' on a tag-name will just show the tag name: