• Knusper@feddit.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Merge early and merge often.

    And ideally, each commit represents a working state of your software. If your team is disciplined enough with that, you can save yourself the feature branches and merges.

  • Korne127@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Merge conflict in general is fine

    What’s really bad is if someone drastically changed the implementation of something which you’ve also changed and if you completely need to rework it…

    • RedditWanderer@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      What’s really bad is if someone drastically changed the implementation of something which you’ve also changed

      That’s not a merge conflict, that’s a management conflict.

  • The Cuuuuube@beehaw.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    git rebase -x theirs origin/main and then look at the lines your changing to see what needs to be retouched