• 0 Posts
  • 15 Comments
Joined 9 months ago
cake
Cake day: August 7th, 2025

help-circle




  • Rebasing is dangerous if you rebase shared history. If you rebase a local branch, you have to be aware of how much of that local branch you may already have shared.

    On top of that, if you’ve got a lot of commits you’re rebasing in a merge conflict that can become extremely repetitive.

    So ideally, you only rebase single commits that you haven’t pushed yet. As long as you do that: always pull main and rebase on top of that before you push single commits, rebasing is fine. But the more you deviate from that, the riskier it becomes.