Skip to content

Instantly share code, notes, and snippets.

@adsurbum
Created February 19, 2016 21:24
Show Gist options
  • Save adsurbum/2671c3d135bcc20c471f to your computer and use it in GitHub Desktop.
Save adsurbum/2671c3d135bcc20c471f to your computer and use it in GitHub Desktop.
zsh git aliases
alias gl="echo '';git --no-pager log -2 --pretty=format:'%C(black)%ar %C(reset)%an %C(black)%h %n%C(yellow)%s%n' -3"
g() { git add --all; git commit -m "$*" }
gc() { git checkout "$*" }
gs() { git status; }
gll() { git pull; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment