Rebasing Regularly and Interactively, and Other Use Cases

In this chapter, we will cover the following recipes:

  • Rebasing commits to another branch
  • Continuing a rebase with merge conflicts
  • Rebasing selected commits interactively
  • Squashing commits using an interactive rebase
  • Changing the author of commits using a rebase
  • Autosquashing commits

Get Git Version Control Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.