• DacoTaco@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    5 months ago

    Same haha. But i use a combination of commits ( but not pushed ), ammending, fixups and usually clean it up before making a PR or pushing ( and rebase/merge main branch while at it). Its how git should be used…

    • verstra@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      You are not alone. This is the work git was built for.

      There is a bit of benefit if you have code reviewed so separate commits are easier to review instaed of one -900 +1278 commit.

    • RustyNova@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      4 months ago

      I do push often as I’m often switching between two devices. And I do make draft PR so I got an easy git diff that I can live reference with