Thread (7 messages) 7 messages, 3 authors, 2019-05-28

Re: Command to list <pattern> Branches on a specific Remote (i.e. select from rtb's)

From: Duy Nguyen <hidden>
Date: 2019-05-19 18:58:25

On Sun, May 19, 2019 at 1:41 AM Ævar Arnfjörð Bjarmason
[off-list ref] wrote:
That's:

    git for-each-ref 'refs/remotes/<remote>/<pattern>'
    git branch -a -l '<remote>/<pattern>'

The latter will conflate <remote> with any local branches you happen to
have prefixed with <remote>.
That problem should be gone if you use -r instead of -a.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help