new git stash aliases

Inspired by https://github.com/robbyrussell/oh-my-zsh/pull/2078/files

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
Gaetan Semet 2013-09-10 11:41:55 +02:00
commit 0d4892d4db

View file

@ -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"