Friday, June 28, 2019

Get the specific release where your commit is merged



In a specific release your commit is merged. 
So, how do you get the specific release in which your PR is merged ?

1. first get the commit hash of the PR.

2. Then , try this:

git tag --contains <commit id>


The lowest one in the above command's output is where your commit is first merged.

Thanks for the tip Niels!

No comments:

Post a Comment