我想检查我的git设置的合并工具 - 我只是不记得名字.我知道我可以等到下一个合并机会来运行它git merge tool并查看它是什么,但我想输入类似于git mergetool status查看工具的内容(例如,版本是什么).
Gre*_*egg 11
通过不同的配置文件查看git作为difftool解析的内容:
git config --get merge.tool
Run Code Online (Sandbox Code Playgroud)
如果结果不是内置的,那么要查看它的配置方式:
git config --get mergetool.THE_MERGE_TOOL
Run Code Online (Sandbox Code Playgroud)
看看git help config