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

Allow merge --squash on releases #329

Open
heinrichWeichert opened this issue Feb 7, 2022 · 2 comments
Open

Allow merge --squash on releases #329

heinrichWeichert opened this issue Feb 7, 2022 · 2 comments

Comments

@heinrichWeichert
Copy link

heinrichWeichert commented Feb 7, 2022

It would be nice to allow merge --squash on releases, too. Sometimes, feature branches contain more than one commit, and I don't want to have such a big commit history on my main branch.
(I know, I could squash develop beforehand, but nevertheless, this would be nice for the differing commits between release/main).

@aleksandr-m
Copy link
Owner

Squashing commits in the release branch?

@heinrichWeichert
Copy link
Author

For example in Bitbucket, there is the option to squash on merge, squashing all commits and not creating a merge commit.
I think it would be useful to first squash all commits on the release branch and then merge.

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

2 participants