bit 39d807e24c5be4fc081e29623ed09d0dd13d497c will now:
searches for suggestions based on prefix except for branches where it will do a "contains" filter
shows branches for log & rebase
Future work:
git checkout -- file - bit will complete up to but not further
git checkout -p; git add -p - bit will not show -p in the initial list. This one is a stretch.
git worktree add - bit will complete up to worktree but no further
Some commands I use often that aren't currently suggested (or need 90% of the typing to be suggested):
git rebase -i $(git merge-base HEAD master)
- this one is a stretchgit rebase -i master
- bit will not completemaster
, you have to type it in yourselfgit status
- for some reason typingst
showspull --rebase origin master
before commands starting with st?git show
- same bug, shows commands that don't start withsh
before showgit checkout <branch> -- file
- bit will complete up to<branch>
but not furthergit checkout -p
;git add -p
- bit will not show-p
in the initial list. This one is a stretch.git log <branch>
- bit will not complete<branch>
. It would also be nice to complete file names.git diff --cached
-diff
needs up todif
to complete and--cached
isn't suggested at allgit worktree add
- bit will complete up toworktree
but no further