Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

[QUESTION] Update branch with rebase #21

Closed
mrpandat opened this issue Nov 8, 2019 · 2 comments
Closed

[QUESTION] Update branch with rebase #21

mrpandat opened this issue Nov 8, 2019 · 2 comments

Comments

@mrpandat
Copy link

mrpandat commented Nov 8, 2019

Hi,

Thank you for this amazing bot !

I would like to know if there is a way to avoid the merge commit when autosquash update the branch. Can i specify the update method (like merge/rebase) in the configuration ?

Example:
image

Thank you :)

@tibdex
Copy link
Owner

tibdex commented Nov 8, 2019

Hi,

Autosquash uses the same API GitHub calls when you click on the "Update branch" button and this endpoint only supports merge commits. There is a request to change that: isaacs/github#1419 but it's unclear whether it will happen or not.

Anyway, I believe doing a merge commit is the right thing to do in that case (see the README) so even if this was possible I would probably stick to the current merge behavior.

Why do you think a rebase, or another behavior would be best?

@mrpandat
Copy link
Author

Hey,

Thanks for the quick reply !

In my case, we are 10+ developers on the project, and the CI take more than 30 minutes to finish , so sometimes we have to update the branch multiple times before it get merged, it means multiple merge update commit..

I think it would be nice to make this as an option (if isaacs/github#1419 is ready).

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

2 participants