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

Disable the squash option from the cascade MR #1

Open
jmini opened this issue Mar 17, 2023 · 0 comments
Open

Disable the squash option from the cascade MR #1

jmini opened this issue Mar 17, 2023 · 0 comments

Comments

@jmini
Copy link
Contributor

jmini commented Mar 17, 2023

When a ucascade Merge Request is merged manually, using the [ ] squash commits option is really bad, since it does not preserve the merge commit (that is the reason why the tool was created in the first place)


Work-around:

It is possible to disable the "Squash" option for all MR in a project:

Gitlab Config

But this is a little bit extreme, since squashing commit might be something the users want to have in regular MR in a project.


Required change in GitLab: https://gitlab.com/gitlab-org/gitlab/-/issues/290042

Once this feature is available, the auto MR should be configured in a way that it is not possible to squash the MR when merging it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant