git for-each-ref

git-for-each-ref

Name

git-for-each-ref - Output information on each ref

Synopsis

git for-each-ref [--count=<count>] [--shell|--perl|--python|--tcl]
                   [(--sort=<key>)…​] [--format=<format>] [<pattern>…​]
                   [--points-at <object>] [(--merged | --no-merged) [<object>]]
                   [--contains [<object>]] [--no-contains [<object>]]

Description

Iterate over all refs that match <pattern> and show them according to the given <format>, after sorting them according to the given set of <key>. If <count> is given, stop after showing that many refs. The interpolated values in <