5 ms·
A friend of mine aliased `git status` `git statsu`; I, being lazier, chose `git st`. Any time saved I lost by not copying his other alias, `c = commit -amSTUFF`
by moses-palmer 9y ago
A friend of mine aliased `git status` `git statsu`; I, being lazier, chose `git st`. Any time saved I lost by not copying his other alias, `c = commit -amSTUFF`...
- Someone 9y agoI must be lazier. I use `gitst` for `git status`. That is 1/6 shorter and IMO not harder to remember.
- njharman 9y agoYou all are doing way too much typing gt git status ga git add gdd git diff to develop gdn same but name in only
- carapace 9y ago`gits` also `gitv` = git diff `gitvc` = git diff --cached
- DCoder 9y agoSee also SCM Breeze [0], which shortens git commands even more: git status -> gs git add -> ga git commit -> gc ... [0]: https://github.com/scmbreeze/scm_breeze https://github.com/scmbreeze/scm_breeze
- Bootvis 9y agoI win: alias add='git add' alias st='git status' alias ci='git commit' alias br='git branch' alias di='git diff'
- akx 9y ago~ $ abbr | grep git | sort abbr af 'git kit autofixup' abbr amend 'git commit --amend' abbr fixup 'git commit --fixup' abbr gb 'git branch' abbr gcan 'git commit --amend --no-edit' abbr gcm 'git commit -m' abbr gco 'git checkout' abbr gcop 'git checkout -p' abbr gfa 'git fetch --all -p' abbr gkdm 'git kit del_merged' abbr gl 'git log --oneline --color --decorate -n20 --graph' abbr gp 'git pull --ff-only --all -p' abbr gph 'git push -u origin HEAD' abbr gre 'git rebase' abbr grec 'git rebase --continue' abbr grem 'git rebase -i master' abbr greom 'git rebase -i origin/master' abbr greum 'git rebase -i upstream/master' abbr gs 'git status' abbr gxa 'gitx --all' abbr namend 'git commit --amend --no-edit'
- lorenzhs 9y agoFor your ~/.gitconfig: [alias] co = checkout psuh = push s = status l = log d = diff And then alias g=git in your shell configuration. "g s", "g l", etc. But nowadays I just use magit.