Is it possible to change the "update branch by merge" default to "update branch by rebase" when PR is outdated?

I find “update branch by rebase” more natural and convenient to use, especially when these commits leave a record in the PR. It’s also nice to not have the random “Merge branch ‘master’ into …” in the PR’s commit set.

Despite the above, the default choice is “by merge”, and user needs to click extra buttons to select “by rebase”. Is it possible to configure the repo setting to make the “by rebase” the default (for outdated PRs) ?

1 Like

Bumping up the post. It seems that this forum is not actively maintained.

I’d love this. Looks like it’s a feature request in their repo, so it’s probably worth upvoting/subscribing there: Option to select preferred branch update strategy · Issue #21182 · go-gitea/gitea · GitHub

Thanks! Do I just “thumb-up” to upvote? Anything else I need to do?

Just doing a thumbs up is typically enough.

1 Like

You can adjust the following template: