mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
Add and fix git aliases
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
d452490489
commit
8e86d871e3
1 changed files with 5 additions and 3 deletions
|
|
@ -10,13 +10,15 @@ compdef _git gl=git-pull
|
|||
alias gch='git fetch'
|
||||
compdef _git gch=git-fetch
|
||||
alias gup='git pull --rebase'
|
||||
compdef _git gup=git-fetch
|
||||
compdef _git gup=git-pull
|
||||
alias gpr='git pull --rebase'
|
||||
compdef _git gpr=git-fetch
|
||||
compdef _git gpr=git-pull
|
||||
alias gp='git push'
|
||||
compdef _git gp=git-push
|
||||
alias gf='git fetch --all'
|
||||
compdef _git gf='git-fetch'
|
||||
alias gfa='git fetch --all'
|
||||
compdef _git gfa='git fetch --all'
|
||||
compdef _git gfa='git-fetch'
|
||||
alias gd='git diff --color'
|
||||
compdef _git gd=git-diff
|
||||
gdv() { git diff -w "$@" | view - }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue