Merge branch 'ew/markdown-url-in-readme'
[gitweb.git] / Documentation / git-describe.txt
index 7ad41e2f6adee9a0bdce74b0a8987614afcc90b3..8755f3af7bcd16b564fdd01563e36d3cc4103c07 100644 (file)
@@ -88,6 +88,16 @@ OPTIONS
        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
+       match any of the --exclude patterns. Use `--no-exclude` to clear and
+       reset the list of patterns.
+
 --always::
        Show uniquely abbreviated commit object as fallback.