How to ensure that any pull request coming to RELEASE branch has code cherry picked from develop branch only and not from any feature branches? To elaborate, whenever a fix is supposed to go to RELEASE branch, developer creates a release-fix branch off of RELEASE branch, then he/she has to cherry pick code from develop in to the release-fix branch and then raise a pull request from the release-fix to RELEASE branch. So basically the fix has to be pushed to develop first which is then cherry picked in to the release-fix branch. How to ensure that the code that is in release-fix branch came from develop and not from any other feature branches? Rather than verbal advice, is there a way to enforce this at git hub or in Jenkins?
... View more