• ranzispa@mander.xyz
    link
    fedilink
    arrow-up
    9
    ·
    3 hours ago

    Sometimes you really don’t want to look over the commit history of your colleagues. As long as it’s a small feature, a single commit is a pretty good option.

    Rather than:

    • implemented X
    • forgot this
    • oh, this was not needed
    • now tests actually pass
    • oops
    • fixed this
    • should be ready
    • Elvith Ma'for@feddit.org
      link
      fedilink
      arrow-up
      5
      ·
      2 hours ago

      That’s basically my commit history for every repo where I need the pipeline to run to see if everything works.

      • kungen@feddit.nu
        link
        fedilink
        arrow-up
        2
        ·
        1 hour ago

        Haha same. But that’s why you do it in another branch, and then squash-merge.