From 685de0159941567eadcfb72482943701c9d4d444 Mon Sep 17 00:00:00 2001 From: Christophe Buffenoir Date: Thu, 17 Oct 2013 10:56:32 +0200 Subject: [PATCH] Add commands to git pull rebase with or without stash --- common/.zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/.zshrc b/common/.zshrc index b2cc97c..1777f9a 100644 --- a/common/.zshrc +++ b/common/.zshrc @@ -109,6 +109,8 @@ alias gitlstags='git describe --tags' alias gittag='git tag -a' alias gitw='git instaweb --httpd=webrick' alias gitpull='git pull --stat --progress' +alias gitpr='git pull --stat --progress --rebase' +alias gitprst='git stash && git pull --stat --progress --rebase && git stash apply' gitgrephistory(){ if [ $# = 1 ] ; then