mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Add git aliases gd=git diff, gdc=git diff --cached and ga=git add
This commit is contained in:
parent
a738ca9b64
commit
7e7a413078
1 changed files with 6 additions and 0 deletions
|
|
@ -15,6 +15,12 @@ alias gc='git commit -v'
|
|||
compdef _git gc=git-commit
|
||||
alias gca='git commit -v -a'
|
||||
compdef _git gca=git-commit
|
||||
alias gd='git diff'
|
||||
compdef _git gd=git-diff
|
||||
alias gdc='git diff --cached'
|
||||
compdef _git gdc=git-diff
|
||||
alias ga='git add '
|
||||
compdef _git ga=git-add
|
||||
alias gco='git checkout'
|
||||
compdef _git gco=git-checkout
|
||||
alias gb='git branch'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue