halubilo.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sag to Programmer [email protected] • 1 year ago

Coomitter be like

lemm.ee

message-square
44
fedilink
424

Coomitter be like

lemm.ee

sag to Programmer [email protected] • 1 year ago
message-square
44
fedilink
  • zoey
    link
    fedilink
    English
    104•1 year ago


    oh god, it’s me

    • @[email protected]
      link
      fedilink
      86•1 year ago

      Senior developer tip: squash the evidence.

      • @[email protected]
        link
        fedilink
        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
          link
          fedilink
          English
          3•1 year ago

          And then my team squashes those commits 😩

          • @[email protected]
            link
            fedilink
            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

        • @[email protected]
          link
          fedilink
          English
          2•1 year ago

          deleted by creator

        • Elise
          link
          fedilink
          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?

          • @[email protected]
            link
            fedilink
            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

      • @[email protected]
        link
        fedilink
        10•1 year ago

        git commit --amend --no-edit

        This helped me countless times…

      • @[email protected]
        link
        fedilink
        6•1 year ago

        Senior developer tip: Squash the evidence management

    • @[email protected]
      link
      fedilink
      13•1 year ago

      F

    • @[email protected]
      link
      fedilink
      9•1 year ago
      git reset head~9
      git add -A
      git commit -am 'Rebased lol'
      git push -f
      
    • @[email protected]
      link
      fedilink
      7•1 year ago

      F

    • Elise
      link
      fedilink
      2•1 year ago

      🫂

Programmer [email protected]

[email protected]

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: [email protected]

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
  • 876 users / day
  • 3.44K users / week
  • 8.63K users / month
  • 19.1K users / 6 months
  • 24.6K subscribers
  • 1.53K Posts
  • 55.2K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org