Alias for git switch does not open branch selector
ianrobrien opened this issue · 2 comments
ianrobrien commented
Describe the bug
I have two git aliases set in my gitconfg
:
[alias]
co = checkout
sw = switch
When I type bit co
and hit enter, I am able to select my branch.
When I type bit checkout
and hit enter, I am able to select my branch.
When I type bit switch
and hit enter, I am able to select my branch.
When I type bit sw
and hit enter, I get fatal: missing branch or commit argument
To Reproduce
Steps to reproduce the behavior:
- Add the alias
sw = switch
to yourgitconfig
- Type
bit sw
Expected behavior
I expect a "dropdown" list of some branches that I can navigate with the up and down arrow keys, or match by typing, in the same way as when I type bit checkout
or bit switch
.
Desktop (please complete the following information):
- OS: macOS 11.4 20F71 x86_64
- Terminal: iTerm2 Build 3.4.8
- Shell: zsh 5.8
chriswalz commented
Consider donating here: https://github.com/sponsors/chriswalz :)