document --exclude option
Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
e7b432c521
commit
574d370b06
@ -174,6 +174,21 @@ parents) and `--max-parents=-1` (negative numbers denote no upper limit).
|
||||
is automatically prepended if missing. If pattern lacks '?', '{asterisk}',
|
||||
or '[', '/{asterisk}' at the end is implied.
|
||||
|
||||
--exclude=<glob-pattern>::
|
||||
|
||||
Do not include refs matching '<glob-pattern>' that the next `--all`,
|
||||
`--branches`, `--tags`, `--remotes`, or `--glob` would otherwise
|
||||
consider. Repetitions of this option accumulate exclusion patterns
|
||||
up to the next `--all`, `--branches`, `--tags`, `--remotes`, or
|
||||
`--glob` option (other options or arguments do not clear
|
||||
accumlated patterns).
|
||||
+
|
||||
The patterns given should not begin with `refs/heads`, `refs/tags`, or
|
||||
`refs/remotes` when applied to `--branches`, `--tags`, or `--remotes`,
|
||||
respectively, and they must begin with `refs/` when applied to `--glob`
|
||||
or `--all`. If a trailing '/{asterisk}' is intended, it must be given
|
||||
explicitly.
|
||||
|
||||
--ignore-missing::
|
||||
|
||||
Upon seeing an invalid object name in the input, pretend as if
|
||||
|
Loading…
Reference in New Issue
Block a user