Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
00848cd8
Commit
00848cd8
authored
May 22, 2013
by
yleo77
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add gf alias for git flow
parent
a9111488
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
git-flow.plugin.zsh
plugins/git-flow/git-flow.plugin.zsh
+3
-0
git.plugin.zsh
plugins/git/git.plugin.zsh
+4
-1
No files found.
plugins/git-flow/git-flow.plugin.zsh
View file @
00848cd8
...
@@ -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
...
...
plugins/git/git.plugin.zsh
View file @
00848cd8
...
@@ -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
...
...
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