• Fonzie!@ttrpg.network
        link
        fedilink
        arrow-up
        7
        ·
        16 hours ago

        I have been that friend from the alt text at every place I have worked. I shudder to think how they’re going about their projects without me, now.

        • Jesus_666@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          15 hours ago

          I’m kinda planning on teaching my team how to use interactive rebases to clean the history before a merge request.

          The first thing they’ll learn is to make a temporary second branch so they can just toss their borked one if they screw up. I’m not going to deal with their git issues for them.

          • corsicanguppy@lemmy.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 hours ago

            I’m kinda planning on teaching my team

            I’m not going to deal with their git issues for them.

            These two statements contradict each other.

            • Jesus_666@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              3 hours ago

              That’s why I’ll make damn sure they’ll make that second branch first.

              Mind you, the most likely result is that I’ll still see branches with 50+ commits with meaningless names because nobody ever rebases anything.

    • expr@programming.dev
      link
      fedilink
      arrow-up
      18
      ·
      19 hours ago

      Never understood why this is such a trope. There’s very little you can’t recover in git (basically, only changes you never committed in the first place).

        • expr@programming.dev
          link
          fedilink
          arrow-up
          25
          ·
          18 hours ago

          Not sure if serious or not, but yeah I use interactive rebases every day, many times a day (it’s nice for keeping a clean, logical history of atomic changes).

          It’s very simple to recover if you accidentally do something you don’t intend (git rebase --abort if the rebase is still active, git reflog to find the commit before the rebase if it’s finished).