feat(git.plugin): adding alias to open predefined difftool

Useful for visual side by side diff VIA external difftool. Here is an example for meld: https://stackoverflow.com/questions/2006032/view-differences-of-branches-with-meld
This commit is contained in:
Tal Lederman
2023-05-08 11:01:00 +03:00
committed by Koichi Murase
parent 6d62b33e6e
commit bd7b301f64

View File

@@ -87,6 +87,7 @@ alias gdca='command git diff --cached'
alias gdct='command git describe --tags `git rev-list --tags --max-count=1`'
alias gdt='command git diff-tree --no-commit-id --name-only -r'
alias gdw='command git diff --word-diff'
alias gdtool='command git difftool -d'
function gdv {
command git diff -w "$@" | view -