我需要在我的旧Git中使用类似的设置,以便能够使用difftool.设置不完全相同,因为我偶然删除了我的旧.gitconfig.
[merge]
tool=opendiff
[mergetool]
tool=opendiff
[difftool]
difftool=opendiff
Run Code Online (Sandbox Code Playgroud)
我在家里有一个空的.gitconfig.我仍然可以使用opendiff -tool.这是一个惊喜,因为它应该是不可能的.
Git的difftool设置如何在内部工作?