Dev tip: Check if a change/feature is in a release tag/branch
Aug 27, 2023
We want to check if a pull request/merge request with a change is in a tag (a release branch commit is usually tagged before deployment)
If you have the PR/MR ID/unique name:
Would show :
If you have the pull request merge commit,
we can check which tags have this:
Would list:
(the commit has been since v1.1)
NOTE: What we are doing is piping the outputs of git commands and displaying the lines meeting a certain search term using grep (global regular expression print) utility :
https://en.wikipedia.org/wiki/Pipeline_(Unix)