简体   繁体   English

将 GitKraken 设置为 git mergetool

[英]set GitKraken as git mergetool

Is it possible to set GitKraken as the default git mergetool?是否可以将 GitKraken 设置为默认的 git mergetool? Something like this code for p4merge, but for GitKraken?类似于 p4merge 的代码,但对于 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.在 GitKraken 中处理合并冲突是最简单的,但我不确定它是否可以像其他合并工具一样从命令行打开。

You usually find the opposite: using an external tool as merge from GitKraken.您通常会发现相反的情况:使用外部工具作为 GitKraken合并。
Not using GitKraken itself.使用 GitKraken 本身。

That is what the GitKraken documentation illustrates:这就是GitKraken 文档说明的内容:

Configure GitKraken Client to launch your tool of choice配置 GitKraken 客户端以启动您选择的工具

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM