From 1034e1cf2bdf270cf767376727d6dbd2b49d852f Mon Sep 17 00:00:00 2001 From: Andrey Vorobyov Date: Wed, 15 Jan 2014 21:21:35 +0200 Subject: [PATCH] gbl - blame, gru - unstage --- plugins/git/git.plugin.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 1285a3247..375c26890 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -51,6 +51,8 @@ alias gb='git branch' compdef _git gb=git-branch alias gba='git branch -a' compdef _git gba=git-branch +alias gbl='git blame -b -w' +compdef _git gbl=git-blame alias gcount='git shortlog -sn' compdef gcount=git alias gcl='git config --list' @@ -71,8 +73,10 @@ compdef _git ga=git-add alias gm='git merge' compdef _git gm=git-merge alias grh='git reset HEAD' +alias gru='git reset --' alias grhh='git reset HEAD --hard' alias gclean='git reset --hard && git clean -dfx' +compdef _git gm=git-reset alias gwc='git whatchanged -p --abbrev-commit --pretty=medium' #remove the gf alias