Re: [PATCH] doc branch: provide examples for listing remote tracking branches
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 28, 2019, 15:51 UTC
- Message-ID
- <xmqqftoy60hq.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <48b03739-b8f7-4d94-15dd-cf7936215a0e@iee.org>
Philip Oakley <philipoakley@iee.org> writes:
> However, isn't `-r <pattern>` broken?
No.
> phili@Philip-Win10 MINGW64 /c/git-sdk-64/usr/src/git (branch-patterns) > $ git branch -a -l 'junio/*'
You are asking "branch --all --list" here.
> $ git branch -a -r 'junio/*' > fatal: -a and -r options to 'git branch' do not make sense with a > branch name
You wanted to ask "branch --remote --list" instead of "branch --all --remote", no?