Command to list <pattern> Branches on a specific Remote (i.e. select from rtb's)
- From
Philip Oakley <philipoakley@iee.org>
- Date
- May 18, 2019, 15:16 UTC
- Message-ID
- <dcdff07d-77c7-8cb8-fa06-82acda5fe9ec@iee.org>
Hi, I'm unsure if there is a command for this.
Currently I have 1600+ remote tracking branches (rtb) for my Git repo as it covers both git.git and git-for-windows and some other contributors.
Finding a specific rtb for a particular remote looks like there ought to be a simple command ready to do the job, but I haven't found anything.
Is there a command or simple simple invocation of branch, show-ref, for-each-ref, etc that can be give a branch pattern and remote name to quickly filter down the list of potential branches to just one or two 24-line screens?
-- Philip