sorenlouv / backport

A simple CLI tool that automates the process of backporting commits on a GitHub repo
https://github.com/sqren/backport/blob/main/docs/config-file-options.md
Apache License 2.0
241 stars 57 forks source link

Add support for “Rebase and merge” #422

Closed sorenlouv closed 2 years ago

sorenlouv commented 2 years ago

Closes https://github.com/sqren/backport/issues/417

When backporting a PR currently only the merge commit is backported. This doesn't work for pull requests merged with "Rebase and merge" because they add multiple commits on top of the base branch but without a merge commit.

This pull requests solves this by backporting every commit instead of just the first commit, when back backporting a PR merged with "Rebase and merge".