Lemmings.world
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sag@lemm.ee to Programmer Humor@programming.dev · 11 months ago

Coomitter be like

lemm.ee

message-square
44
link
fedilink
424

Coomitter be like

lemm.ee

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


    oh god, it’s me

    • CodeMonkey@programming.dev
      link
      fedilink
      arrow-up
      85
      ·
      11 months ago

      Senior developer tip: squash the evidence.

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

          And then my team squashes those commits 😩

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

        • xilliah@beehaw.org
          link
          fedilink
          arrow-up
          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
            arrow-up
            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

        • Anticorp@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          deleted by creator

      • sorter_plainview@lemmy.today
        link
        fedilink
        arrow-up
        10
        ·
        11 months ago

        git commit --amend --no-edit

        This helped me countless times…

      • SatouKazuma@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        11 months ago

        Senior developer tip: Squash the evidence management

    • SturgiesYrFase@lemmy.ml
      link
      fedilink
      arrow-up
      13
      ·
      11 months ago

      F

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

      F

    • xilliah@beehaw.org
      link
      fedilink
      arrow-up
      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
Visibility: Public
globe

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

  • 1.32K users / day
  • 4.54K users / week
  • 8.07K users / month
  • 17.7K users / 6 months
  • 97 local subscribers
  • 23.4K subscribers
  • 1.42K Posts
  • 51.9K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org