如何确定发布中是否包含 Git 提交?

How to find out if a Git commit is included in a release?

我试图通过 github.com 网站查明 Git 提交是否包含在发布中,但似乎很难完成。

这是我想知道它是否包含在发布中的提交

https://github.com/docker/toolbox/pull/122/commits

有人知道确认的步骤吗?

您可以使用git log --grep=<message> 命令。消息的一部分将起作用。 一旦匹配,您将看到提交的详细信息。

示例:

git log --grep='pull/122/commits'

执行给定存储库的这一行没有 return 结果,这意味着此拉取请求尚未合并。

您可以通过此命令验证命令以查看结果:

git log --oneline --grep='version'