Skip to content

pull without rebase #1

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

Closed
wants to merge 2 commits into from
Closed

pull without rebase #1

wants to merge 2 commits into from

Conversation

f1sherman
Copy link
Owner

Summary

Pull without rebase

Context

As described in wireframe#52, when the developer has pull.rebase = true in their git config, they will get an error when updating due to git attempting to rebase local changes on top of a different remote HEAD. The error can unfortunately be fairly opaque and confusing (e.g. Updates were rejected because the tip of your current branch is behind). This fixes the issue by doing a plain merge instead of a rebase.

I also updated to Ruby 3.3.0 since support for 2.7.x ended 10 months ago.

Guidance

Any concerns?

As described in wireframe#52, when the
developer has `pull.rebase = true` in their git config, they will get an
error when updating due to git attempting to rebase local changes on top
of a different remote HEAD. The error can unfortunately be fairly opaque
and confusing (e.g. `Updates were rejected because the tip of your
current branch is behind`). This fixes the issue by doing a plain merge
instead of a rebase.
@f1sherman f1sherman closed this Feb 6, 2024
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.

1 participant