I used CVS and ClearCase before moving into Git, and it took me some time to adjust to the fact that the cost of branching in Git is much much less than ClearCase. And getting into the “distributed” mindset didn’t happen overnight.

    • slazer2au@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      Network engineer doing netdevops. branches don’t work like software, always commit to main.

    • lysdexic@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      6 months ago

      Sure if you never branch, which is a severely limited way of using git.

      It’s quite possible to use Git without creating branches. Services like GitHub can automatically create feature branches for you as part of their ticket-management workflow. With those tools, you start to work on a ticket, you fetch the repo, and a fancy branch is already there for you to use.

      You also don’t merge branches because that happens when you click on a button on a PR.