Command to list <pattern> Branches on a specific Remote (i.e. select from rtb's)
- Date: Sat, 18 May 2019 16:16:45 +0100
- From: Philip Oakley <philipoakley@xxxxxxx>
- Subject: Command to list <pattern> Branches on a specific Remote (i.e. select from rtb's)
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