浏览代码

Merge pull request #2078 from tbuehl/master

Add commonly used git stash aliases to git plugin
Robby Russell 11 年之前
父节点
当前提交
86d57e83ed
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      plugins/git/git.plugin.zsh

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

@@ -85,7 +85,11 @@ compdef _git gm=git-mergetool
 alias gg='git gui citool'
 alias gg='git gui citool'
 alias gga='git gui citool --amend'
 alias gga='git gui citool --amend'
 alias gk='gitk --all --branches'
 alias gk='gitk --all --branches'
+
 alias gsts='git stash show --text'
 alias gsts='git stash show --text'
+alias gsta='git stash'
+alias gstp='git stash pop'
+alias gstd='git stash drop'
 
 
 # Will cd into the top of the current repository
 # Will cd into the top of the current repository
 # or submodule.
 # or submodule.