mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
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:
committed by
Koichi Murase
parent
6d62b33e6e
commit
bd7b301f64
@@ -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 -
|
||||
|
Reference in New Issue
Block a user