mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
Merge pull request #1967 from tchaudhri/gdc_git_alias
Added a 'git diff --cached' alias -> 'gdc'
This commit is contained in:
commit
26e936e645
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ alias gst='git status'
|
||||||
compdef _git gst=git-status
|
compdef _git gst=git-status
|
||||||
alias gd='git diff'
|
alias gd='git diff'
|
||||||
compdef _git gd=git-diff
|
compdef _git gd=git-diff
|
||||||
|
alias gdc='git diff --cached'
|
||||||
|
compdef _git gdc=git-diff
|
||||||
alias gl='git pull'
|
alias gl='git pull'
|
||||||
compdef _git gl=git-pull
|
compdef _git gl=git-pull
|
||||||
alias gup='git pull --rebase'
|
alias gup='git pull --rebase'
|
||||||
|
|
Loading…
Reference in a new issue