]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-for-each-ref.txt
for-each-ref: add new option to include root refs
[thirdparty/git.git] / Documentation / git-for-each-ref.txt
index be9543f6840be3c6a477fb8537d014b0f7dfba7b..bf1c0165e9f8305dd1f207882ebae145407c32df 100644 (file)
@@ -10,7 +10,7 @@ SYNOPSIS
 [verse]
 'git for-each-ref' [--count=<count>] [--shell|--perl|--python|--tcl]
                   [(--sort=<key>)...] [--format=<format>]
-                  [ --stdin | <pattern>... ]
+                  [--include-root-refs] [ --stdin | <pattern>... ]
                   [--points-at=<object>]
                   [--merged[=<object>]] [--no-merged[=<object>]]
                   [--contains[=<object>]] [--no-contains[=<object>]]
@@ -105,6 +105,9 @@ TAB %(refname)`.
        any excluded pattern(s) are shown. Matching is done using the
        same rules as `<pattern>` above.
 
+--include-root-refs::
+       List root refs (HEAD and pseudorefs) apart from regular refs.
+
 FIELD NAMES
 -----------