Browse Source

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

Roman 5 years ago
parent
commit
aa4146a9a4
2 changed files with 2 additions and 0 deletions
  1. 1 0
      plugins/git/README.md
  2. 1 0
      plugins/git/git.plugin.zsh

+ 1 - 0
plugins/git/README.md

@@ -154,6 +154,7 @@ plugins=(... git)
 | gstl                 | git stash list                                                                                                                |
 | gstp                 | git stash pop                                                                                                                 |
 | gsts                 | git stash show --text                                                                                                         |
+| gstu                 | git stash --include-untracked                                                                                                 |
 | gstall               | git stash --all                                                                                                               |
 | gsu                  | git submodule update                                                                                                          |
 | gsw                  | git switch                                                                                                                    |

+ 1 - 0
plugins/git/git.plugin.zsh

@@ -236,6 +236,7 @@ alias gstd='git stash drop'
 alias gstl='git stash list'
 alias gstp='git stash pop'
 alias gsts='git stash show --text'
+alias gstu='git stash --include-untracked'
 alias gstall='git stash --all'
 alias gsu='git submodule update'
 alias gsw='git switch'