D•Scribe
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sag@lemm.ee to Programmer Humor@programming.dev · 1 年前

Coomitter be like

lemm.ee

message-square
44
fedilink
424

Coomitter be like

lemm.ee

sag@lemm.ee to Programmer Humor@programming.dev · 1 年前
message-square
44
fedilink
  • zoey@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    105
    arrow-down
    1
    ·
    1 年前


    oh god, it’s me

    • CodeMonkey@programming.dev
      link
      fedilink
      arrow-up
      85
      ·
      1 年前

      Senior developer tip: squash the evidence.

      • grrgyle@slrpnk.net
        link
        fedilink
        arrow-up
        28
        ·
        1 年前

        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@programming.dev
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 年前

          And then my team squashes those commits 😩

          • grrgyle@slrpnk.net
            link
            fedilink
            arrow-up
            1
            ·
            1 年前

            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

        • xilliah@beehaw.org
          link
          fedilink
          arrow-up
          2
          ·
          1 年前

          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
            arrow-up
            2
            ·
            1 年前

            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

        • Anticorp@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 年前

          deleted by creator

      • sorter_plainview@lemmy.today
        link
        fedilink
        arrow-up
        10
        ·
        1 年前

        git commit --amend --no-edit

        This helped me countless times…

      • SatouKazuma@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        1 年前

        Senior developer tip: Squash the evidence management

    • SturgiesYrFase@lemmy.ml
      link
      fedilink
      arrow-up
      13
      ·
      1 年前

      F

    • RonSijm@programming.dev
      link
      fedilink
      arrow-up
      9
      ·
      1 年前
      git reset head~9
      git add -A
      git commit -am 'Rebased lol'
      git push -f
      
    • verstra@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      1 年前

      F

    • xilliah@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      1 年前

      🫂

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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 821 users / day
  • 5.72K users / week
  • 9.85K users / month
  • 19K users / 6 months
  • 10 local subscribers
  • 23.9K subscribers
  • 1.35K Posts
  • 44K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • UI: unknown version
  • BE: 0.19.9
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org