mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-04-09 01:47:09 +00:00
Merge 03a0d25ed5
into fa396ad771
This commit is contained in:
commit
3cfd1b1a67
|
@ -89,6 +89,7 @@ plugins=(... git)
|
|||
| `gdup` | `git diff @{upstream}` |
|
||||
| `gdnolock` | `git diff $@ ":(exclude)package-lock.json" ":(exclude)\*.lock"` |
|
||||
| `gdt` | `git diff-tree --no-commit-id --name-only -r` |
|
||||
| `gdss` | `git diff --shortstat $(git_main_branch)..$(git_current_branch)` |
|
||||
| `gf` | `git fetch` |
|
||||
| `gfa` | `git fetch --all --tags --prune` |
|
||||
| `gfo` | `git fetch origin` |
|
||||
|
|
|
@ -206,6 +206,7 @@ alias gdca='git diff --cached'
|
|||
alias gdcw='git diff --cached --word-diff'
|
||||
alias gds='git diff --staged'
|
||||
alias gdw='git diff --word-diff'
|
||||
alias gdss="git diff --shortstat $(git_main_branch)..$(git_current_branch)"
|
||||
|
||||
function gdv() { git diff -w "$@" | view - }
|
||||
compdef _git gdv=git-diff
|
||||
|
|
Loading…
Reference in New Issue
Block a user