Added some awesome git aliases for statistics, history, and seeing what changed.
authorMark Rickert <mjar81@gmail.com>
Tue, 9 Apr 2013 13:15:48 +0000 (09:15 -0400)
committerMark Rickert <mjar81@gmail.com>
Tue, 9 Apr 2013 13:15:48 +0000 (09:15 -0400)
aliases/available/git.aliases.bash

index 75b8f65..9a9a106 100644 (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