bd9a86051fe4e4e15243b8607a81d37a5158a7ba

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #1247 from drnic/git-cmds

Added 'gcl'for 'git config --list'; and gd for 'git diff'

Diff

 1diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
 2index 6b7bd374c7a6ee1922d260efa9ea5f9558517dba..d56dbb07b1efefe0055facfbe028d844b80c6b6f 100644
 3--- a/plugins/git/git.plugin.zsh
 4+++ b/plugins/git/git.plugin.zsh
 5@@ -9,6 +9,7 @@ alias gup='git pull --rebase'
 6 compdef _git gup=git-fetch
 7 alias gp='git push'
 8 compdef _git gp=git-push
 9+alias gd='git diff'
10 gdv() { git diff -w "$@" | view - }
11 compdef _git gdv=git-diff
12 alias gc='git commit -v'
13@@ -24,6 +25,7 @@ alias gba='git branch -a'
14 compdef _git gba=git-branch
15 alias gcount='git shortlog -sn'
16 compdef gcount=git
17+alias gcl='git config --list'
18 alias gcp='git cherry-pick'
19 compdef _git gcp=git-cherry-pick
20 alias glg='git log --stat --max-count=5'