• Muad'Dibber@lemmygrad.ml
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    If you try to pull someone else’s rebased / history rewritten branch, your git will tell you that it’s rejected. You can completely avoid this by merging instead of rewriting history.

    • Atemu@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      …or you simply rebase the subset of commits of your branch onto the rewritten branch. That’s like 10 simple button presses in magit.