• Fonzie!@ttrpg.network
        link
        fedilink
        arrow-up
        9
        ·
        1 day 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
          2
          ·
          edit-2
          1 day 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
            3
            ·
            13 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.

            • JustAnotherKay@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              43 minutes ago

              I disagree. I don’t wanna deal with my coworkers work, so I’m teaching them to deal with it themselves. Not necessarily in the best way for them to do it, but in an easy way to teach and an easy way to get right

            • Jesus_666@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              13 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
      19
      ·
      1 day 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
          27
          ·
          1 day 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).