ejoffe / spr

Stacked Pull Requests on GitHub
MIT License
714 stars 65 forks source link

Merge PR stack into eachother bottom to top #400

Open stoopkidddd opened 3 months ago

stoopkidddd commented 3 months ago

Right now the current functionality is to merge the top most PR and close all PR's below it. This works, however if you have issue trackers like Jira, Linear, etc that are linked to the PR's, it is really confusing to see tickets linked to closed PR's.

It'd be nice if there was an option to reverse the functionality, and merge all the PR's into eachother the way they are defined, with the first one in the stack ending up with all the changes and being merged into the target branch.