Lemmy Today
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sag@lemm.ee to Programmer Humor@programming.dev · 1 year ago

Coomitter be like

lemm.ee

message-square
44
link
fedilink
425

Coomitter be like

lemm.ee

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


    oh god, it’s me

    • CodeMonkey@programming.dev
      link
      fedilink
      arrow-up
      86
      ·
      1 year ago

      Senior developer tip: squash the evidence.

      • grrgyle@slrpnk.net
        link
        fedilink
        arrow-up
        28
        ·
        1 year 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@programming.dev
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          And then my team squashes those commits 😩

          • grrgyle@slrpnk.net
            link
            fedilink
            arrow-up
            1
            ·
            1 year 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

        • Elise@beehaw.org
          link
          fedilink
          arrow-up
          2
          ·
          1 year 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
            arrow-up
            2
            ·
            1 year 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

        • Anticorp@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          deleted by creator

      • sorter_plainview
        link
        fedilink
        arrow-up
        10
        ·
        1 year ago

        git commit --amend --no-edit

        This helped me countless times…

      • SatouKazuma@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        Senior developer tip: Squash the evidence management

    • SturgiesYrFase@lemmy.ml
      link
      fedilink
      arrow-up
      13
      ·
      1 year ago

      F

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

      F

    • Elise@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      1 year 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
Visibility: Public
globe

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

  • 1.31K users / day
  • 4.13K users / week
  • 10.1K users / month
  • 19.7K users / 6 months
  • 134 local subscribers
  • 24.3K subscribers
  • 1.52K Posts
  • 55.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org