What is the ‘golden rule of rebasing’ and why does it exist?

Git Hard

Git — Hard

What is the ‘golden rule of rebasing’ and why does it exist?

Key points

  • Rebasing published commits disrupts team workflows
  • Linear history isn't always the priority
  • Remote branch considerations are crucial
  • Rewriting history has collateral effects

Ready to go further?

Related questions