git show commit in beyond compare

标签 git beyondcompare git-diff

我希望在通过 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/

相关文章:

linux - 如何在 Linux 上设置具有 HTTP 访问权限的 Git 服务器

git - 与Beyond Compare一起使用时如何退出git difftool?

git - 如何获得 git 子树差异?

git - 如何在 gitk 中设置 diff 选项(--compaction-heuristic)

git 稳定分支 : find not cherry-picked commits

在 Windows 上使用 PuTTY 的 git push 失败(致命的 : The remote end hung up unexpectedly)

git - 是否可以通过 SSH (Gradle) 编译 bitbucket 依赖项?

comments - 超越比较忽略一侧评论

merge - 无法与 Mercurial : How to get refresh & save to work properly? 进行比较

github - circleCI - 如何在特定目录发生变化时运行作业