feat(git): use difftastic as diff viewer
This commit is contained in:
parent
29af43eb76
commit
e7711fe634
@ -22,6 +22,12 @@
|
|||||||
rebase.autostash = true;
|
rebase.autostash = true;
|
||||||
rerere.enabled = true;
|
rerere.enabled = true;
|
||||||
worktree.guessRemote = true;
|
worktree.guessRemote = true;
|
||||||
|
|
||||||
|
diff.external = "difft --background light";
|
||||||
|
diff.tool = "difftastic";
|
||||||
|
difftool.prompt = false;
|
||||||
|
difftool.difftastic.cmd = "difft --background light \"$LOCAL\" \"$REMOTE\"";
|
||||||
|
pager.difftool = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
aliases = {
|
aliases = {
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
tree
|
tree
|
||||||
light
|
light
|
||||||
element-desktop
|
element-desktop
|
||||||
|
difftastic
|
||||||
];
|
];
|
||||||
|
|
||||||
stateVersion = "22.05";
|
stateVersion = "22.05";
|
||||||
|
Reference in New Issue
Block a user