News for hackers. Stuff that matters.
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.
Re:Git log – The good parts by Cthulhu_ on Monday March 26, 2018 @07:05AM (#16677993)
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 sense
Re:Git log – The good parts by nojvek on Monday March 26, 2018 @10:27PM (#16684655)
I 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.

Re:Git log – The good parts by jquast on Wednesday March 28, 2018 @02:25AM (#16695802)
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.
Re:Git log – The good parts by OskarS on Monday March 26, 2018 @07:30AM (#16678064)
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 :)
Re:Git log – The good parts by hellofunk on Monday March 26, 2018 @10:02AM (#16678938)
mine is assigned to the bash alias "gl"