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

Document Git 2.18 feature --rebase-merges #6

Open
rocketraman opened this issue Jan 18, 2019 · 0 comments
Open

Document Git 2.18 feature --rebase-merges #6

rocketraman opened this issue Jan 18, 2019 · 0 comments
Labels
docs enhancement New feature or request

Comments

@rocketraman
Copy link
Owner

Git 2.18 has an option for interactive rebase called --rebase-merges, which will eventually replace the clunky --preserve-merges. This capability can be used to rebase a topic with merges interactively, and can therefore be very useful for topic-based development with gitworkflow.

See https://git-scm.com/docs/git-rebase#_rebasing_merges

Add information to the docs about how this option can be used e.g.:

  • Redoing merges of other topics (for example, if that other topic was itself rebased)
  • Splitting topic branches up into separate topics
  • Adding additional merge commits to the topic without rebuilding it with reset, merge, and cherry-pick
@rocketraman rocketraman added the enhancement New feature or request label Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant