From b1bd7a1053a32b127c149a44fe31c71cb0a39f82 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Thu, 4 May 2017 15:01:38 +0200 Subject: [PATCH] git stash show with untracked files (sorin-ionescu/prezto#1211) --- modules/git/alias.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/git/alias.zsh b/modules/git/alias.zsh index 946ad32c..cdd29028 100644 --- a/modules/git/alias.zsh +++ b/modules/git/alias.zsh @@ -226,6 +226,7 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then alias gsl='git stash list' alias gsL='git-stash-dropped' alias gsd='git stash show --patch --stat' + alias gsD='gsd; echo "Untracked files:"; git diff --stat --patch 4b825dc642cb6eb9a060e54bf8d69288fbee4904 "stash^3"' alias gsp='git stash pop' alias gsr='git-stash-recover' alias gss='git stash save --include-untracked'