# Shell completion for branch names

1 messages from 2021-04-07 to 2021-04-07. Participants: jost.schulte@tutanota.com.
Thread: https://gitlist.dev/t/55447

## jost.schulte@tutanota.com, 2021-04-07 14:23

Subject: Shell completion for branch names
Message-ID: <MXghkzG----2@tutanota.com>
URL: https://gitlist.dev/e/MXghkzG----2%40tutanota.com

```
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


```
