3 ms·
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
by jeffhuys 9y ago
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
- dbrgn 9y agoI 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
- hesselink 9y agoI 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 :)