aa4146a9a4b75bc998d74750b4f75131973ccf01

Author
Roman <romanrandom@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

git: add alias for git stash --include-untracked (#8617)

Diff

 1diff --git a/plugins/git/README.md b/plugins/git/README.md
 2index 7878f747b998445c5c8adb4a512a1c047227a059..42a583de89965d73b8e063f2cc35f42dc959bec6 100644
 3--- a/plugins/git/README.md
 4+++ b/plugins/git/README.md
 5@@ -154,6 +154,7 @@ plugins=(... git)
 6 | gstl                 | git stash list                                                                                                                |
 7 | gstp                 | git stash pop                                                                                                                 |
 8 | gsts                 | git stash show --text                                                                                                         |
 9+| gstu                 | git stash --include-untracked                                                                                                 |
10 | gstall               | git stash --all                                                                                                               |
11 | gsu                  | git submodule update                                                                                                          |
12 | gsw                  | git switch                                                                                                                    |
13diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
14index d8c4cffd10c645de7ea41aa0acd030a7c7124095..380ab76d8a7d806f6542a824b2a9abe46c75637f 100644
15--- a/plugins/git/git.plugin.zsh
16+++ b/plugins/git/git.plugin.zsh
17@@ -236,6 +236,7 @@ alias gstd='git stash drop'
18 alias gstl='git stash list'
19 alias gstp='git stash pop'
20 alias gsts='git stash show --text'
21+alias gstu='git stash --include-untracked'
22 alias gstall='git stash --all'
23 alias gsu='git submodule update'
24 alias gsw='git switch'