git - 如何检查我使用的是哪个 merge 工具?

标签 git mergetool

我想检查我的 git 设置为哪个 merge 工具 - 我只是不记得名字了。我知道我可以等到下一次 merge 机会通过 git merge tool 运行它并查看它是什么,但我想输入类似 git mergetool status 的内容到查看工具是什么(例如,版本是什么)。

最佳答案

通过不同的配置文件,查看 git 解析为 difftool 的内容:

git config --get merge.tool

如果结果不是内置的,那么看看它是如何配置的:

git config --get mergetool.THE_MERGE_TOOL

查看 git 帮助配置

关于git - 如何检查我使用的是哪个 merge 工具?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40004915/

相关文章:

git - 每日和每周备份策略

ruby - Capistrano 3 复制策略等效

git - 在 git 中使用 diffmerge mergetool 时出现问题

git - 为什么我无法为 Git 配置外部 difftool 或 mergetool?

git - Windows 上的 Bitbucket 禁止使用 SSH git clone

git - Azure DevOps - 将 master 分支与过去的 master 分支进行比较

git - 我如何处理 Git 错误 "Your local changes to the following files would be overwritten by merge"

macos - 如何使用 git mergetool 的 filemerge

git - 将 KDiff3 设置为默认 merge 工具

git - 适用于 Linux 的 Windows 子系统 git mergetool 融合了 UnicodeDecodeError