summaryrefslogtreecommitdiffstats
path: root/git-describe.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-09-29 13:22:33 +0900
committerJunio C Hamano <gitster@pobox.com>2017-09-29 13:22:33 +0900
commitef75f377a0a3170ce7d5664cab4a6057d91f59c8 (patch)
tree53d653ca9e3e30c8bc07e31691a4b3f640caf100 /git-describe.txt
parentf088858b7d9cf7778d88910914cf7c34d0fdeb83 (diff)
downloadgit-htmldocs-ef75f377a0a3170ce7d5664cab4a6057d91f59c8.tar.gz
Autogenerated HTML docs for v2.14.2-666-gea220
Diffstat (limited to 'git-describe.txt')
-rw-r--r--git-describe.txt24
1 files changed, 14 insertions, 10 deletions
diff --git a/git-describe.txt b/git-describe.txt
index 26f19d3b0..c924c945b 100644
--- a/git-describe.txt
+++ b/git-describe.txt
@@ -87,19 +87,23 @@ OPTIONS
--match <pattern>::
Only consider tags matching the given `glob(7)` pattern,
- excluding the "refs/tags/" prefix. This can be used to avoid
- leaking private tags from the repository. If given multiple times, a
- list of patterns will be accumulated, and tags matching any of the
- patterns will be considered. Use `--no-match` to clear and reset the
- list of patterns.
+ excluding the "refs/tags/" prefix. If used with `--all`, it also
+ considers local branches and remote-tracking references matching the
+ pattern, excluding respectively "refs/heads/" and "refs/remotes/"
+ prefix; references of other types are never considered. If given
+ multiple times, a list of patterns will be accumulated, and tags
+ matching any of the patterns will be considered. Use `--no-match` to
+ clear and reset the list of patterns.
--exclude <pattern>::
Do not consider tags matching the given `glob(7)` pattern, excluding
- the "refs/tags/" prefix. This can be used to narrow the tag space and
- find only tags matching some meaningful criteria. If given multiple
- times, a list of patterns will be accumulated and tags matching any
- of the patterns will be excluded. When combined with --match a tag will
- be considered when it matches at least one --match pattern and does not
+ the "refs/tags/" prefix. If used with `--all`, it also does not consider
+ local branches and remote-tracking references matching the pattern,
+ excluding respectively "refs/heads/" and "refs/remotes/" prefix;
+ references of other types are never considered. If given multiple times,
+ a list of patterns will be accumulated and tags matching any of the
+ patterns will be excluded. When combined with --match a tag will be
+ considered when it matches at least one --match pattern and does not
match any of the --exclude patterns. Use `--no-exclude` to clear and
reset the list of patterns.