Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I am trying to find out if a Git commit is included in a release but seem to be having a hard job via github.com website.

This is the commit that I wish to know if its included in a release

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

Does anyone know the steps for confirming this?

like image 252
Martin Avatar asked Sep 29 '15 19:09

Martin


1 Answers

You can use the git log --grep=<message> command. an part of the message will work. Once there is a match you will see the details of the commit.

Example:

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

Executing this line of the given repository does not return results, which means that this pull request is not merged yet.

You can verify the command by this for example to see results:

git log --oneline --grep='version'
like image 80
CodeWizard Avatar answered Oct 28 '22 16:10

CodeWizard