threads / discuss / 55447

Shell completion for branch names

Subject: Shell completion for branch names

## tl;dr

One message between Apr 7, 2021 and Apr 7, 2021.

replies: 0people: 1as markdown or json

jost.schulte@tutanota.com· Apr 7, 2021, 14:23 UTC · lore
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

← back to recent threads