This commit is contained in:
Arthur Moura Carvalho 2025-03-26 10:11:44 +09:00 committed by GitHub
commit 3cfd1b1a67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -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` |

View File

@ -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