, " git, ". .
--branches , "refs refs/heads". refs/heads, refs/remotes. - "origin/foo/*" . , git log , HEAD.
--remotes, --branches, refs/remotes. , :
git log --graph --oneline --topo-order --decorate --simplify-by-decoration --remotes='origin/foo/*'
--glob, , heads/ remotes/ . :
git log --graph --oneline --topo-order --decorate --simplify-by-decoration --glob='refs/*/foo/*'
, git branch, , . , . , , , HEAD. :
git log --graph --oneline --topo-order --decorate --simplify-by-decoration $(git branch --list -a 'origin/*')
, , -> . - git branch:
remotes/origin/HEAD -> origin/master
remotes/origin/master
, git for-each-ref ( ), :
git log --graph --oneline --topo-order --decorate --simplify-by-decoration $(git for-each-ref --format='%(refname)' 'refs/remotes/origin/*')