use intellij as git mergetool
This commit is contained in:
parent
407adf52c0
commit
365ed3db6b
1 changed files with 6 additions and 5 deletions
|
@ -20,11 +20,12 @@ let
|
||||||
};
|
};
|
||||||
fetch.prune = true;
|
fetch.prune = true;
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
merge.conflictstyle = "zdiff3";
|
merge.tool = "intellij";
|
||||||
merge.tool = "nvim";
|
mergetool = {
|
||||||
mergetool.nvim = {
|
intellij = {
|
||||||
cmd = "nvim -d -c \"wincmd l\" -c \"norm ]c\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\"";
|
cmd = "'/Applications/IntelliJ IDEA.app/Contents/macOS/idea' merge \“$LOCAL\” \“$REMOTE\” \“$BASE\” \“$MERGED\”";
|
||||||
prompt = false;
|
trustExitCode = true;
|
||||||
|
};
|
||||||
keepBackup = false;
|
keepBackup = false;
|
||||||
};
|
};
|
||||||
pager = {
|
pager = {
|
||||||
|
|
Loading…
Reference in a new issue