dormi.zone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sag to Programmer Humor@programming.dev • 11 months ago

Coomitter be like

lemm.ee

message-square
44
fedilink
443

Coomitter be like

lemm.ee

sag to Programmer Humor@programming.dev • 11 months ago
message-square
44
fedilink
  • zoey
    link
    fedilink
    English
    105•11 months ago


    oh god, it’s me

    • @CodeMonkey@programming.dev
      link
      fedilink
      85•11 months ago

      Senior developer tip: squash the evidence.

      • @grrgyle@slrpnk.net
        link
        fedilink
        28•11 months ago

        Principle developer tip: rewrite history to make yourself seem smarter.

        Soft reset the whole branch and commit a series of atomic and semantic patches (eg separating code, test, and refactor changes) that tell a clean narrative of the changeset to reviewers, future blamers.

        • JackbyDev
          link
          fedilink
          English
          3•11 months ago

          And then my team squashes those commits 😩

          • @grrgyle@slrpnk.net
            link
            fedilink
            1•11 months ago

            Yeah it sucks. If the commits are really helpful, you can just paste the git log into the PR/MR/CR body after it’s been merged

        • @Anticorp@lemmy.world
          link
          fedilink
          English
          2•11 months ago

          deleted by creator

        • Elise
          link
          fedilink
          2•11 months ago

          Do you put effort into your commit messages before the rewrite, or just write something quick for yourself and then put in the effort later?

          • @grrgyle@slrpnk.net
            link
            fedilink
            2•11 months ago

            Depends, but usually I will put in the effort up front and maybe tweak them in an in[eractive rebase, or just manually copy+paste.

            If they’re worth saving. Sometimes you have to kill your darlings though

      • @sorter_plainview@lemmy.today
        link
        fedilink
        10•11 months ago

        git commit --amend --no-edit

        This helped me countless times…

      • @SatouKazuma@programming.dev
        link
        fedilink
        6•11 months ago

        Senior developer tip: Squash the evidence management

    • @SturgiesYrFase@lemmy.ml
      link
      fedilink
      13•11 months ago

      F

    • @RonSijm@programming.dev
      link
      fedilink
      9•11 months ago
      git reset head~9
      git add -A
      git commit -am 'Rebased lol'
      git push -f
      
    • @verstra@programming.dev
      link
      fedilink
      7•11 months ago

      F

    • Elise
      link
      fedilink
      2•11 months ago

      🫂

Programmer Humor@programming.dev

!programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 754 users / day
  • 3.76K users / week
  • 7.77K users / month
  • 17K users / 6 months
  • 23.3K subscribers
  • 1.38K Posts
  • 48.4K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org