feat(git): use difftastic as diff viewer
This commit is contained in:
parent
29af43eb76
commit
e7711fe634
2 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,12 @@
|
|||
rebase.autostash = true;
|
||||
rerere.enabled = 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 = {
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
tree
|
||||
light
|
||||
element-desktop
|
||||
difftastic
|
||||
];
|
||||
|
||||
stateVersion = "22.05";
|
||||
|
|
Loading…
Reference in a new issue