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;
|
||||
init.defaultBranch = "main";
|
||||
merge.conflictstyle = "zdiff3";
|
||||
merge.tool = "nvim";
|
||||
mergetool.nvim = {
|
||||
cmd = "nvim -d -c \"wincmd l\" -c \"norm ]c\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\"";
|
||||
prompt = false;
|
||||
merge.tool = "intellij";
|
||||
mergetool = {
|
||||
intellij = {
|
||||
cmd = "'/Applications/IntelliJ IDEA.app/Contents/macOS/idea' merge \“$LOCAL\” \“$REMOTE\” \“$BASE\” \“$MERGED\”";
|
||||
trustExitCode = true;
|
||||
};
|
||||
keepBackup = false;
|
||||
};
|
||||
pager = {
|
||||
|
|
Loading…
Reference in a new issue