Re:Git log – The good parts
by bhaavan on Monday March 26, 2018 @05:51AM
(#16677753)
lol, I named my alias `git lol` because it is logs in one line.
[ Parent
| on HN ]
lol, I named mine 'git l' because I type it far too often.
Re:Git log – The good parts
by codetrotter on Monday March 26, 2018 @10:01AM
(#16678931)
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 senseI 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.
i think 'xonsh' aims to do that
Re:Git log – The good parts
by alexmorenodev on Monday March 26, 2018 @10:09AM
(#16678993)
Mine is only `gl`, but I edited my .zshrc for that.
I named my custom logging command 'git ls', which is an idiotic name (that should list files or something), but I'm stuck with it now :)