From 0d4892d4dbfcd596a581716c4f7874d27280bb50 Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Tue, 10 Sep 2013 11:41:55 +0200 Subject: [PATCH] new git stash aliases Inspired by https://github.com/robbyrussell/oh-my-zsh/pull/2078/files Signed-off-by: Gaetan Semet --- plugins/git/git.plugin.zsh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index badfb7b26..3b3ce2670 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -114,6 +114,14 @@ alias gitk-entier-history='gitk --all $(git log -g --pretty=format:%h)' # show c compdef _git gitk='gitk' # Note: if the commit has been cleaned my 'git gc', the dangling commits older than 2 weeks may have been deleted # +alias gstst='git stash show --text' +alias gsts='git stash' +alias gstsp='git stash pop' +alias gstsd='git stash drop' +alias gstsa='git stash apply' +alias gstsl='git stash list' + + alias gitconfig="vim ~/.gitconfig" alias gitmessage="vim ~/.gitmessage"