Unverified Commit 130f35fc authored by Claas Augner's avatar Claas Augner Committed by GitHub

feat(git): add `gdu` alias to diff against upstream (#8721)

parent 450acc01
...@@ -66,6 +66,7 @@ plugins=(... git) ...@@ -66,6 +66,7 @@ plugins=(... git)
| gds | git diff --staged | | gds | git diff --staged |
| gdt | git diff-tree --no-commit-id --name-only -r | | gdt | git diff-tree --no-commit-id --name-only -r |
| gdnolock | git diff $@ ":(exclude)package-lock.json" ":(exclude)*.lock" | | gdnolock | git diff $@ ":(exclude)package-lock.json" ":(exclude)*.lock" |
| gdu | git diff @{u} |
| gdv | git diff -w $@ \| view - | | gdv | git diff -w $@ \| view - |
| gdw | git diff --word-diff | | gdw | git diff --word-diff |
| gf | git fetch | | gf | git fetch |
......
...@@ -119,6 +119,7 @@ alias gdcw='git diff --cached --word-diff' ...@@ -119,6 +119,7 @@ alias gdcw='git diff --cached --word-diff'
alias gdct='git describe --tags $(git rev-list --tags --max-count=1)' alias gdct='git describe --tags $(git rev-list --tags --max-count=1)'
alias gds='git diff --staged' alias gds='git diff --staged'
alias gdt='git diff-tree --no-commit-id --name-only -r' alias gdt='git diff-tree --no-commit-id --name-only -r'
alias gdu='git diff @{u}'
alias gdw='git diff --word-diff' alias gdw='git diff --word-diff'
function gdnolock() { function gdnolock() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment