• chaospatterns@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 个月前

      Rebase still means you have to resolve conflicts, but it can be worse because you may have to resolve conflicts across multiple commits that you’re rebasing on top of a conflict.

        • GissaMittJobb@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          2 个月前

          Agreed. If your commits are reasonably structured, rebasing is far more helpful.

          Although these days I usually opt for one ball-of-mud commit while developing the code, which is always fairly trivial to rebase - only one commit, can’t have follow-up issues - and then I redo the commit structure from scratch as a part of preparing the code for the benefit of the reviewer.