-
Notifications
You must be signed in to change notification settings - Fork 21
Optional rebase + merge --no-ff #46
Comments
Hi, What would be the benefit of using |
The advantage is being able to see branch history/PRs explicitly in your Git history. If you're doing rebase merges, you can't tell where one branch or spike ended and the next one started when looking at the git history. You can only reverse engineer this by looking up some of the commits on GitHub and finding the associated PR, which is a bit clunky. This is an example (sorry for redactions, don't want to breach my company's security policy). You can clearly see in the Git history where the original branch was and what PR it was without even needing to go to GitHub at all. We still rebase before merging though (enforced automatically by GitHub), so it's always in this extremely simple linear history the OP was talking about: |
I also vehemently detest squashes and want full Git history in feature branches when they are merged. All I want is a bot to perform a |
Thanks for reporting this but I don't maintain this project anymore. |
Hi!
First of all, thanks a lot for autorebase, it is a really useful project.
Would it be possible to configure autorebase to change its final rebase behaviour?
Now, when a PR has the "autorebase" tag, and the build status is green, autorebase merges the PR with the github api by using the rebase method.
I would like autorebase to do something like:
git rebase + git merge --no-ff
, to get something like this git history:I have tried changing
autorebase.ts
to:and it does work, to some extend. autorebase merges the PR when the build is green, but it does not make a rebase first. It does not "detect" that the master branch has evolved and that before merging it should make another rebase.
Would it be possible to make something like this? I am not fluent at all at typescript, but if you give me some hints about what would be needed I can try to develop it.
Thanks a lot!!
The text was updated successfully, but these errors were encountered: