add gf alias for git flow

This commit is contained in:
yleo77 2013-05-22 17:00:08 +08:00 committed by Andrew Schwartzmeyer
commit 9b007d71e0
2 changed files with 7 additions and 1 deletions

View file

@ -20,6 +20,9 @@
# c. Or, use this file as a oh-my-zsh plugin.
#
#Alias
alias gf='git flow'
_git-flow ()
{
local curcontext="$curcontext" state line

View file

@ -72,7 +72,10 @@ alias grh='git reset HEAD'
alias grhh='git reset HEAD --hard'
alias gclean='git reset --hard && git clean -dfx'
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
alias gf='git ls-files | grep'
#remove the gf alias
#alias gf='git ls-files | grep'
alias gpoat='git push origin --all && git push origin --tags'
alias gmt='git mergetool --no-prompt'
compdef _git gm=git-mergetool