-
Notifications
You must be signed in to change notification settings - Fork 21
What if I want the autorebase feature but not the automerge ? #41
Comments
I'm interested in this too. @tibdex Are you interested in a PR introducing this feature? Maybe – since label would not be enough – adding comment commands (i.e. |
Hello guys, I’ve been hesitating over adding the one-time Indeed, rebasing rewrites the history which makes collaborating on pull requests riskier and code reviews unpleasant because of the increased difficulty to keep track of the changes. That’s why it’s currently recommended to use the On the other hand, manual rebases are sometimes handy. A use case is when the CI config changed on the base branch and you need to rebase on top of it to have a chance to merge your PR. Another one would be to incorporate a feature that just landed on the base branch to see if it plays well with the current PR. If you could detail your use cases it would help me decide whether on-demand rebase is a good idea or not. |
I agree with you, rebasing many times is something I want to avoid.
In my thoughts, I'm seeing two "stages":
Step (1) should be done before rebasing, so that no one could add more commits once it has been rebased. This enforces the team to check code, review it before merging. Step (2) means: "Ok, the feature is ready, now we would like to ship it when stakeholders say so". Especially if you've got auto-deployment, but even with manual deploys always from However, in order to do this, you'll need to rebase against default branch once more, but since this stage (n.2) is conceptually isolated from development, rebased branch would flow into master only once. So history rewrite could be acceptable. This is my idea right now, and in this context an I would like however to know your point, since maybe it could be solved using another flow that I didn't think of. |
I'd like to be able to autorebase without merge as well. I want to merge manually with GitHub's UI, but since GitHub doesn't provide a way to rebase a pull request on top of Asking pull request contributors to do the following in each and every pull request to avoid merge commits from the target branch (introduced when clicking the "Update branch" button in the GitHub UI) is just too much of a burden: git remote add upstream <url>
git fetch upstream
git checkout <pull-request-branch>
git rebase upstream/<target-branch>
git push --force So being able to just autorebase the PR without it being merged would be much easier. Even asking the PR contributor to do Please make it possible to autorebase without merge. |
Hi guys, I've been working on https://github.com/tibdex/backport lately but this issue is the next thing I want to work on. Do you agree that this is the feature you need:
? |
Hi @tibdex! Something like that seems fine to me. The write permission is indeed needed 👍 |
That sounds perfect, @tibdex! |
Is this deployed? |
@thedrow your comment needs to contain only |
@tibdex I think the documentation should say that. |
Hello,
Autorebase looks verycool, but when we merge we deploy, so i don't want merging to be done by this tool.
How can I use only the autorebase feature ?
The text was updated successfully, but these errors were encountered: