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

Prefer commit author from source commit #398

Closed sorenlouv closed 2 years ago

sorenlouv commented 2 years ago

Currently the backport commit author defaults to using the author info from git config. This PR changes that so the backport commit author will instead inherit the author from the source commit.

To override this behaviour the user can set the commit author explicitly like:

backport --git-author-name="Donald Duck" --git-author-email="duck@disney.com"