Skip to content

Option to disable update branch by rebase #18710

Closed
@jpraet

Description

@jpraet

Feature Description

In Gitea 1.16 we can update a PR branch using rebase instead of merge. (#16125)

I would like to be able to disable this option through some configuration option.
I think it's often not a good idea to rebase as it is a destructive operation:

So, for the workflow in my team I would like to discourage rebasing by not showing the option in the UI.

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions