Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default merge strategy for pull requests #17741

Closed
MahdiGhiasi opened this issue Nov 21, 2021 · 4 comments
Closed

Set default merge strategy for pull requests #17741

MahdiGhiasi opened this issue Nov 21, 2021 · 4 comments

Comments

@MahdiGhiasi
Copy link

Feature Description

Currently Gitea shows a green "Merge" button, and one can change the merge strategy by clicking the arrow next to it.

It would be nice to be able to change the default, in our case making "Squash and Merge" the default merge option, to avoid mistakenly pressing the default merge button (we usually squash, unless there's a reason not to).

Screenshots

No response

@jpraet
Copy link
Member

jpraet commented Nov 21, 2021

This is already configurable in the repository settings:

image

@jpraet jpraet closed this as completed Nov 21, 2021
@MahdiGhiasi
Copy link
Author

Thanks!

@suntsu42
Copy link

Is it possible to configure this as default for all new repositories?

@Gusted
Copy link
Contributor

Gusted commented Nov 24, 2021

Is it possible to configure this as default for all new repositories?

There currently don't seem to be a option to do this. You can open up a issue about it to request it as a feature.

@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants