Added some awesome git aliases for statistics, history, and seeing what changed.

pull/196/head
Mark Rickert 2013-04-09 09:15:48 -04:00
parent 0cfec65383
commit 8be156fc8b
1 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@ alias gst='git status'
alias gs='git status'
alias gss='git status -s'
alias gl='git pull'
alias gpp='git pull && git push'
alias gup='git fetch && git rebase'
alias gp='git push'
alias gpo='git push origin'
@ -27,6 +28,10 @@ alias gexport='git archive --format zip --output'
alias gdel='git branch -D'
alias gmu='git fetch origin -v; git fetch upstream -v; git merge upstream/master'
alias gll='git log --graph --pretty=oneline --abbrev-commit'
alias gg="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias ggs="gg --stat"
alias gsl="git shortlog -sn"
alias gw="git whatchanged"
if [ -z "$EDITOR" ]; then
case $OSTYPE in