What is the difference between git rebase –onto A B C and a regular git rebase?

Git Hard

Git — Hard

What is the difference between git rebase –onto A B C and a regular git rebase?

Key points

  • git rebase --onto is used for transplanting a branch subset onto a different base
  • It replays commits reachable from C but not from B onto A
  • Regular git rebase does not have the same capabilities

Ready to go further?

Related questions