Recently I’ve experienced a significant increase in merge conflicts at the company I’m currently working at (we hired a couple of junior data scientists and some are not that familiar with git)

Even though those merge conflicts can be a little tedious to resolve, I realized that I personally started to enjoy it - especially using fugitive. Haven’t had many conflicts in a while, so almost forgot about Gdiffsplit and how awesome that plugin is…

Now I’m wondering, how often do you have to resolve (more or less complex) merge conflicts?

  • ELLIOTTCABLE@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    it’s 2023 folks, get your team on an automatic formatter. clears so much of this shit right up. Prettier, black, hindent, etc.

    We use one such tool (ocamlformat) with the absurdly amazing (and underrated) merge-fmt — a tool that uses autoformatters to resolve any merges due to formatting differences, silently, without bothering you. (Partially) thanks to that, we have very, very few merge conflicts, despite a large, fast-moving monorepo. (=