]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-for-each-ref.txt
Merge branch 'tb/refs-exclusion-and-packed-refs'
[thirdparty/git.git] / Documentation / git-for-each-ref.txt
index 2e0318770b7761e9de5009879bc29a727f393808..d9588767a956ef91c2197034fe3b75bc9983c09b 100644 (file)
@@ -14,6 +14,7 @@ SYNOPSIS
                   [--points-at=<object>]
                   [--merged[=<object>]] [--no-merged[=<object>]]
                   [--contains[=<object>]] [--no-contains[=<object>]]
+                  [--exclude=<pattern> ...]
 
 DESCRIPTION
 -----------
@@ -102,6 +103,11 @@ OPTIONS
        Do not print a newline after formatted refs where the format expands
        to the empty string.
 
+--exclude=<pattern>::
+       If one or more patterns are given, only refs which do not match
+       any excluded pattern(s) are shown. Matching is done using the
+       same rules as `<pattern>` above.
+
 FIELD NAMES
 -----------