Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating patch from merge request

Tags:

git

github

We have several teams merging changes to the same branch. I have to recommit selective merge requests to another branch. Is there a way to create patch from individual merge requests in git hub?

like image 292
Aruna Sathiyanarayanan Avatar asked Aug 25 '26 12:08

Aruna Sathiyanarayanan


1 Answers

If you have MR url like https://git.drupalcode.org/project/drupal/-/merge_requests/622/diffs you always can add just .patch to the end of MR link (like https://git.drupalcode.org/project/drupal/-/merge_requests/622/diffs.patch ) and you will get patch :). Use accuracy because source branch can be rebased before MR is applied. enter image description here

like image 190
YurkinPark Avatar answered Aug 28 '26 01:08

YurkinPark



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!