Re: git-completion.bash: Show list of local branches instead of refs for git checkout
- From
SZEDER Gábor <szeder.dev@gmail.com>
- Date
- Dec 4, 2017, 09:29 UTC
- Message-ID
- <20171204092946.6763-1-szeder.dev@gmail.com>
- In-Reply-To
- <CAEZzL1CfXn-XXMG-CFNpZL0B-Rq2r1JoD9gWxHOUR25z_zt+VA@mail.gmail.com>
Hi,
> I am using git-completion.bash and when I try to checkout a branch > by typing git checkout on the prompt, I get the following: > > FETCH_HEAD FETCH ORIG_FETCH
What is "ORIG_FETCH"? This string was never present in Git's source code.
> Will it not be more useful if the list of local branches is populated?
'git checkout <TAB>' should already list branches, and it seems to work just fine.
Gábor