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
bd9a8605
Commit
bd9a8605
authored
Dec 04, 2012
by
Robby Russell
Browse files
Merge pull request #1247 from drnic/git-cmds
Added 'gcl'for 'git config --list'; and gd for 'git diff'
parents
421a738b
73df0c8e
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/git/git.plugin.zsh
View file @
bd9a8605
...
@@ -9,6 +9,7 @@ alias gup='git pull --rebase'
...
@@ -9,6 +9,7 @@ alias gup='git pull --rebase'
compdef _git
gup
=
git-fetch
compdef _git
gup
=
git-fetch
alias
gp
=
'git push'
alias
gp
=
'git push'
compdef _git
gp
=
git-push
compdef _git
gp
=
git-push
alias
gd
=
'git diff'
gdv
()
{
git diff
-w
"
$@
"
| view -
}
gdv
()
{
git diff
-w
"
$@
"
| view -
}
compdef _git
gdv
=
git-diff
compdef _git
gdv
=
git-diff
alias
gc
=
'git commit -v'
alias
gc
=
'git commit -v'
...
@@ -24,6 +25,7 @@ alias gba='git branch -a'
...
@@ -24,6 +25,7 @@ alias gba='git branch -a'
compdef _git
gba
=
git-branch
compdef _git
gba
=
git-branch
alias
gcount
=
'git shortlog -sn'
alias
gcount
=
'git shortlog -sn'
compdef
gcount
=
git
compdef
gcount
=
git
alias
gcl
=
'git config --list'
alias
gcp
=
'git cherry-pick'
alias
gcp
=
'git cherry-pick'
compdef _git
gcp
=
git-cherry-pick
compdef _git
gcp
=
git-cherry-pick
alias
glg
=
'git log --stat --max-count=5'
alias
glg
=
'git log --stat --max-count=5'
...
...
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