Add git git fixer alias

This will help me re-type git commands innumerably less over time.
master
Jordan Atwood 2 years ago
parent a9b5d929e3
commit 4f01f5e155
Signed by: nightfirecat
GPG Key ID: 615A619C2D73A6DF
  1. 1
      src/.gitconfig

@ -18,6 +18,7 @@
fixup = commit --amend --no-edit fixup = commit --amend --no-edit
fixup-a = commit -a --amend --no-edit fixup-a = commit -a --amend --no-edit
full-diff = !git --no-pager diff full-diff = !git --no-pager diff
git = "!f() { git "$@"; }; f" # ignore the duplicated "git"
ll = log --pretty=format:"%C(yellow)%h%C(red)%d%C(reset)\\ %s\\ %C(blue)%C(bold)[%aN]%C(reset)" --decorate --numstat ll = log --pretty=format:"%C(yellow)%h%C(red)%d%C(reset)\\ %s\\ %C(blue)%C(bold)[%aN]%C(reset)" --decorate --numstat
lo = log --oneline --decorate lo = log --oneline --decorate
ls = log --pretty=format:"%C(yellow)%h%C(red)%d%C(reset)\\ %s\\ %C(blue)%C(bold)[%aN]%C(reset)" --decorate ls = log --pretty=format:"%C(yellow)%h%C(red)%d%C(reset)\\ %s\\ %C(blue)%C(bold)[%aN]%C(reset)" --decorate

Loading…
Cancel
Save