相关疑难解决方法(0)

无法理解Git的difftool配置是如何设置的

我需要在我的旧Git中使用类似的设置,以便能够使用difftool.设置不完全相同,因为我偶然删除了我的旧.gitconfig.

 [merge]
     tool=opendiff

 [mergetool]
     tool=opendiff

 [difftool]
     difftool=opendiff
Run Code Online (Sandbox Code Playgroud)

我在家里有一个空的.gitconfig.我仍然可以使用opendiff -tool.这是一个惊喜,因为它应该是不可能的.

Git的difftool设置如何在内部工作?

git macos difftool

2
推荐指数
1
解决办法
2958
查看次数

标签 统计

difftool ×1

git ×1

macos ×1