Commit 00848cd8 authored by yleo77's avatar yleo77
Browse files

add gf alias for git flow

parent a9111488
...@@ -20,6 +20,9 @@ ...@@ -20,6 +20,9 @@
# c. Or, use this file as a oh-my-zsh plugin. # c. Or, use this file as a oh-my-zsh plugin.
# #
#Alias
alias gf='git flow'
_git-flow () _git-flow ()
{ {
local curcontext="$curcontext" state line local curcontext="$curcontext" state line
......
...@@ -63,7 +63,10 @@ compdef _git gm=git-merge ...@@ -63,7 +63,10 @@ compdef _git gm=git-merge
alias grh='git reset HEAD' alias grh='git reset HEAD'
alias grhh='git reset HEAD --hard' alias grhh='git reset HEAD --hard'
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium' 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 gpoat='git push origin --all && git push origin --tags'
# Will cd into the top of the current repository # Will cd into the top of the current repository
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment