浏览代码

Add commonly used git stash aliases

Torsten Bühl 11 年之前
父节点
当前提交
5bf20572cc
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      plugins/git/git.plugin.zsh

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

@@ -80,7 +80,11 @@ compdef _git gm=git-mergetool
 alias gg='git gui citool'
 alias gga='git gui citool --amend'
 alias gk='gitk --all --branches'
+
 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
 # or submodule.