• Hawk
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    Why? I almost always have master/dev/stable.

    • TunaCowboy@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      You should not be pushing into your main/master/whatever branch.

      All the main/master replies completely miss the point, further emphasizing sirsirsalot’s statement.

      • Hawk
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        I think I’ll keep doing it. It’s worked fine for the past decade 🤷

        • Solemn@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          It works fine for small projects. I think that with more than 2-3 devs a PR based strategy works better for enforcing review and just makes life easier in general, since you end up with less stuff like force pushes to fix minor things like whitespace errors that break everyone’s local.