set GitKraken as git mergetool

538 Views Asked by At

Is it possible to set GitKraken as the default git mergetool? Something like this code for p4merge, but for GitKraken?

git config --global merge.tool p4merge

git config --global mergetool.p4merge.path "/Applications/p4merge.app/Contents/MacOS/p4merge"

Handling merge conflicts in GitKraken is easiest, but I am not sure if it can be opened from the command line in the same way as other mergetools.

1

There are 1 best solutions below

1
VonC On

You usually find the opposite: using an external tool as merge from GitKraken.
Not using GitKraken itself.

That is what the GitKraken documentation illustrates:

Configure GitKraken Client to launch your tool of choice

https://support.gitkraken.com/img/documentation/repositories/local_repository/configureExternalTool.png