summaryrefslogtreecommitdiffstats
path: root/git-describe.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-05-22 07:23:37 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-05-22 07:23:37 +0000
commit5e284b493e1b24c922c8de3fb1ebcec179039a9c (patch)
tree4e4c6aceea1d9b41f6c97d0841c3740078e87596 /git-describe.txt
parenta5c02c50ab1f04e70fb2b0fcfc021e94291f58e8 (diff)
downloadgit-htmldocs-5e284b493e1b24c922c8de3fb1ebcec179039a9c.tar.gz
Autogenerated HTML docs for v1.5.2-35-ga334
Diffstat (limited to 'git-describe.txt')
-rw-r--r--git-describe.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/git-describe.txt b/git-describe.txt
index 47a583d3a..dc47b65ce 100644
--- a/git-describe.txt
+++ b/git-describe.txt
@@ -8,7 +8,7 @@ git-describe - Show the most recent tag that is reachable from a commit
SYNOPSIS
--------
-'git-describe' [--all] [--tags] [--abbrev=<n>] <committish>...
+'git-describe' [--all] [--tags] [--contains] [--abbrev=<n>] <committish>...
DESCRIPTION
-----------
@@ -31,6 +31,11 @@ OPTIONS
Instead of using only the annotated tags, use any tag
found in `.git/refs/tags`.
+--contains::
+ Instead of finding the tag that predates the commit, find
+ the tag that comes after the commit, and thus contains it.
+ Automatically implies --tags.
+
--abbrev=<n>::
Instead of using the default 8 hexadecimal digits as the
abbreviated object name, use <n> digits.