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

Always rebase on the distant version. #109

Merged
merged 2 commits into from
Oct 20, 2023
Merged

Always rebase on the distant version. #109

merged 2 commits into from
Oct 20, 2023

Conversation

cupcicm
Copy link
Owner

@cupcicm cupcicm commented Oct 20, 2023

The local version could have commits we don't want in our history.
Only when it's pushed do we use the new commits in the history
of dependent branches.

The local version could have commits we don't want in our history.
Only when it's pushed do we use the new commits in the history
of dependent branches.
It now tries to guess where the ancestor finishes and where the PR
starts, and rebases only the PR commits.

Notably, this should make opp work with dependent PRs with the squash
and merge strategy (but I haven't tried :P)
@cupcicm cupcicm merged commit 26eccfb into main Oct 20, 2023
1 check passed
@cupcicm cupcicm deleted the cupcicm/pr/109 branch October 20, 2023 08:17
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

Successfully merging this pull request may close these issues.

3 participants