News for hackers. Stuff that matters.
Re:Git git git git git by dbrgn on Wednesday September 27, 2017 @05:21AM (#15346101)
I never started with those two-letter aliases because they're bound to become problematic:

- gs is ghostscript

- gc is a component of graphviz

...and all of a sudden your text editor can't generate PDFs anymore when started from the shell.

Instead, I use four-letter aliases which work fine:

- gits = git status

- gitd = git diff

- gitc = git commit

..etc

Re:Git git git git git by hesselink on Wednesday September 27, 2017 @05:33AM (#15346155)
I aliased 'g' to 'git'. Combined with git aliases ('st' for 'status' etc) this is almost as short but doesn't steal all the short names from your shell. So instead of 'gs' you have 'g st'. Upside is you save two letters even on uncommon git commands :)