Created
February 19, 2016 21:24
-
-
Save adsurbum/2671c3d135bcc20c471f to your computer and use it in GitHub Desktop.
zsh git aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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