4 ms·
I meant that the alias `b` for `git branch` will have the same bash completion as `git branch`, e.g. branch names.
by mikegerwitz 9y ago
I meant that the alias `b` for `git branch` will have the same bash completion as `git branch`, e.g. branch names.
- mort96 9y agoI don't know if it's the same in bash, but at least in zsh, "git branch <TAB>" and "b <TAB>" have the exact same result, if b is aliased to "git branch"; the first tab fills in the name of the branch, another lets me select a commit, and further tabs are command line options.
- mikegerwitz 9y agoThat would make sense! Alas, that is not the case with bash.