Subject: Shell completion for branch names

From: [email-masked]
Date: Wed, 7 Apr 2021 16:23:16 +0200 (CEST)

Hello guys,

I have a question regarding git-completion. I'm using zsh and have added the function .git-completion.bash. That gives me some auto-completion for branch names.

What I'm looking for: I have a branch named "feature/issue-123-add-feature" for example. I'd like to type "git switch 123[tab]". Is there some function out there that provides this?

Cheers
Jost