1

I'm using git with zsh

when I type in 'gco' and press the 'tab' key, it will be like the following

enter image description here

Those are not deleted or merged branches, but I don't want them.

Especially something like

7038cc34 -- [HEAD]

Hank
  • 331
  • 1
  • 13

1 Answers1

0

Make sure to use the latest Git 2.13, which improved on Git completion:

In your case, check the git branch -avv output to see if those "branches" are listed at all. If not, it could be a new bug to report to the mailing list.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250