News for hackers. Stuff that matters.
Re:Git git git git git by jeffhuys on Wednesday September 27, 2017 @05:05AM (#15346038)
No. I have aliases for most things git:

gs = git status

ga = git add

gc = git commit

gp = git push

gl = git pull

gt = git tag

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 :)