mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Alias gdtr to git diff-tree
`gdt` cannot be used for `git diff-tree` because this alias is being overriding later for `git difftool` so there is a conflict in names. I propose to do renaming for `git diff-tree` alias but not for `git difftool` alias because: 1) `gdt` alias may already been used by someone for `git difftol`. 2) We already have a `gmt` for `git mergetool` so having a `gdt` for `git difftool` is less surprising.
This commit is contained in:
parent
140034605e
commit
145814023b
1 changed files with 2 additions and 2 deletions
|
|
@ -7,8 +7,8 @@ alias gd='git diff'
|
|||
compdef _git gd=git-diff
|
||||
alias gdc='git diff --cached'
|
||||
compdef _git gdc=git-diff
|
||||
alias gdt='git diff-tree --no-commit-id --name-only -r'
|
||||
compdef _git gdc=git diff-tree --no-commit-id --name-only -r
|
||||
alias gdtr='git diff-tree --no-commit-id --name-only -r'
|
||||
compdef _git gdtr=git diff-tree --no-commit-id --name-only -r
|
||||
alias gl='git pull'
|
||||
compdef _git gl=git-pull
|
||||
alias gup='git pull --rebase'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue