3 ms·
I use two-letter bash aliases for all my most commonly used git commands. git status git diff git diff --cached git add -A git commit -m He
by codetrotter 9y ago
I use two-letter bash aliases for all my most commonly used git commands.
git status
git diff
git diff --cached
git add -A
git commit -m Hello
git push
Is instead just
st
dp
di
aa
cm Hello
pu
Additionally I also have
le
For
git shortlog -s -e
which I don’t use very often but often enough that having an alias for it still makes sense
- nojvek 9y agoI edited my inputrc to do a prefix search. So I just ‘git x’ where x is some letter, pressing up usually finds me what I want. It still surprises me we don’t have good bash autocomplete. Not sure how hard it is to create a shell but i’d do it in a heartbeat.
- jquast 9y agoi think 'xonsh' aims to do that