Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
00848cd8
Commit
00848cd8
authored
May 22, 2013
by
yleo77
Browse files
add gf alias for git flow
parent
a9111488
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/git-flow/git-flow.plugin.zsh
View file @
00848cd8
...
...
@@ -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
...
...
plugins/git/git.plugin.zsh
View file @
00848cd8
...
...
@@ -63,7 +63,10 @@ compdef _git gm=git-merge
alias
grh
=
'git reset HEAD'
alias
grhh
=
'git reset HEAD --hard'
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'
# Will cd into the top of the current repository
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment