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

Rebase instruction include the deprecated --preserve-merges option #217

Open
choznerol opened this issue Jun 16, 2024 · 0 comments · May be fixed by #218
Open

Rebase instruction include the deprecated --preserve-merges option #217

choznerol opened this issue Jun 16, 2024 · 0 comments · May be fixed by #218

Comments

@choznerol
Copy link

bors/homu suggest using git rebase upstream/master -p

Example

rust-lang/cargo#14078 (comment)

image

But -p (or --rebase-merges) has been removed in git 2.34.0 back in 2021.

* The "--preserve-merges" option of "git rebase" has been removed.

so you get:

$ git rebase upstream/master -p
fatal: --preserve-merges was replaced by --rebase-merges
Note: Your `pull.rebase` configuration may also be set to 'preserve',
which is no longer supported; use 'merges' instead

$ git rebase upstream/master --preserve-merges
fatal: --preserve-merges was replaced by --rebase-merges
Note: Your `pull.rebase` configuration may also be set to 'preserve',
which is no longer supported; use 'merges' instead

Since the change is trivial, I'll just make a PR to update it here:

'3. `git rebase upstream/master -p` *(rebase on top of it)*\n'

Reference:

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 a pull request may close this issue.

1 participant