我希望在通过 git show
查看特定提交时在 Beyond Compare 或任何其他单独的差异工具中看到它。我试着查看 git show/difftool/config 的帮助,但找不到任何东西。有谁知道如何做到这一点?
我看过Git Diff with Beyond Compare并为 git difftool
配置了 Beyond Compare,但我也想将它用作 git show
最佳答案
我设法使用 git difftool
来查看我通常通过 git show
查看的提交。
git show $commit
转换为 git difftool $commit^ $commit
。
上面的命令显示了提交的父级($commit^)和提交之间的区别。这一切当然是在使用 difftool 配置 Beyond Compare 之后。
关于git show commit in beyond compare,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7515213/