Civilloquy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 2 years ago

Manager: This task only takes 30 minutes. Why did it take you the whole day?

programming.dev

message-square
46
fedilink
642

Manager: This task only takes 30 minutes. Why did it take you the whole day?

programming.dev

hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 2 years ago
message-square
46
fedilink
alert-triangle
You must log in or register to comment.
  • Maiznieks@lemmy.world
    link
    fedilink
    arrow-up
    71
    ·
    2 years ago

    “Fix”

    • obrenden@lemmy.world
      link
      fedilink
      arrow-up
      44
      arrow-down
      1
      ·
      2 years ago

      With 400 lines changed over 50 files

      • hypnotic_nerd@programming.devOP
        link
        fedilink
        English
        arrow-up
        26
        ·
        2 years ago

        “updates”

        • dukk@programming.dev
          link
          fedilink
          arrow-up
          13
          ·
          2 years ago

          “feat: stuff”

          Guilty of this one myself.

      • Jeremyward@lemmy.world
        link
        fedilink
        arrow-up
        11
        ·
        2 years ago

        I had a commit recently that was like 2000 lines changed over 6 files. Really should have been a smaller issue.

      • Dkarma@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        Y tho??? Holy shit. Commits should be like functions. One thing and one thing only. Maybe a small group of files like the same change over multiple config files. 50 is insane to me.

    • Dasnap@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      2 years ago

      ‘Change’ if I’m feeling particularly chaotic.

    • Dkarma@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      See jira-blah: is my go-to. Sometimes there’s even a jira at that location/number 🤔

    • Meowoem@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 years ago

      ‘fixed odd or even function for values 600 to 950, plus other stuff I forgot to commit earlier’

  • Looboer@lemm.ee
    link
    fedilink
    English
    arrow-up
    41
    ·
    2 years ago

    Just use What The Commit.

    You can also create a git alias:

    git config --global alias.yolo ‘!git add -A && git commit -m “$(curl --silent --fail https://whatthecommit.com/index.txt)”’

    Now you can just type ‘git yolo’ to create a commit!

    • Olgratin_Magmatoe@startrek.website
      link
      fedilink
      arrow-up
      14
      ·
      2 years ago

      “Make Sure You Are Square With Your God Before Trying To Merge This”

    • ikidd@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 years ago

      Full send.

    • jungle@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 years ago

      Thanks for that, I’ve been laughing like a little kid:

      “hoo boy”

      “lol”

      “Become a programmer, they said. It’ll be fun, they said.”

      I can feel those so well! :')

    • hypnotic_nerd@programming.devOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      Well such an informative reply! Thanks mate 👍

    • hakunawazo@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      “Chuck Norris Emailed Me This Patch… I’m Not Going To Question It”

    • MajorHavoc@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Well that’s about half my commit messages that are going to be nonsense on weekends projects, now. Thank you!

  • aes@lemm.ee
    link
    fedilink
    English
    arrow-up
    30
    ·
    2 years ago

    Psst,

    git add -p

    • dukk@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      2 years ago

      Better yet, git commit -p

      • sip@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        2 years ago

        uuuuuuuu. and you could do -m to describe the commit.

        next they’ll add --push/-P.

        perhaps add -r for fetch/rebase then commit.

        one command to rule them all! 😈

  • Pacmanlives@lemmy.world
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    edit-2
    2 years ago

    git commit -m “changed somethings “

    git push origin master

    • MajorHavoc@lemmy.world
      link
      fedilink
      arrow-up
      18
      arrow-down
      2
      ·
      2 years ago

      You forgot this --force flag.

    • jelloeater@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      Do you always have to do origin master? I’ve seen it where sometimes just git push works and other times not.

      • MajorHavoc@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 years ago

        I was being more evil than that, saying that if one is gonna push direct to main, might as well maximize the possible damage to everyone else’s branch.

        • jelloeater@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 years ago

          Lol why not just delete the whole project from GitHub… I mean, everyone has a copy, right?😱

      • zcoyle@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        where it Just Works, the branch is set up to track a remote branch

        https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches

      • adrian783@lemmy.world
        link
        fedilink
        arrow-up
        4
        arrow-down
        2
        ·
        2 years ago

        uh in any actual company you almost never push to origin master. so I think it’s a joke.

        • MajorHavoc@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          2 years ago

          Not with that attitude! /s

          • jelloeater@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            2 years ago

            Force push Fridays!

        • herrvogel@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          In most actually companies you can try push to origin master, but it’ll likely get rejected by the repo’s security policies.

      • sloppy_diffuser@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        https://git-scm.com/docs/git-push#Documentation/git-push.txt-pushautoSetupRemote

        • jelloeater@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          I tired that, still was having issues, weeeird.

      • Meowoem@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        I think it depends what branch your local version of the repo is set to. If you’re already in master then it’ll push there, if you’re in a testing branch then you can push it straight to master instead by telling it to

        • jelloeater@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          I just meant it not auto creating a new matching named branch.

      • TheUncannyObserver@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        3
        arrow-down
        2
        ·
        edit-2
        1 year ago

        deleted by creator

  • crackajack@reddthat.com
    link
    fedilink
    arrow-up
    9
    ·
    2 years ago

    That’s in any bloody workplace! Especially if there is o synergy between different teams.

  • giggling_engine@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    2 years ago

    The usual reason would be “because coworkers”

  • DontTakeMySky@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    2 years ago

    “stuff”

    • nomecks@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      2 years ago

      “Commit”

  • pete_the_cat@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 years ago

    For me, it was my boss gave me a programming task which he knew would take hours or a day or two… and then 15 minutes later tells me to “switch focus” and do a menial task that any of my five coworkers could do 🤦‍♂️

  • catastrophicblues@lemmy.ca
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    Oh god I feel so called out. I wish I paid more attention to my commit messages but I’m usually too busy fixing the directory structure and refactoring. Sigh.

    • brlemworld@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      My company collapses into a single commit at merge so idgaf what the commit message is anymore. Though I would prefer not collapsing them.

      • DoomBot5@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        2 years ago

        Master should just have the feature description commits, not the hundred commits it took to get there after refactoring the code for the 3rd time and pulling changes from master since it’s taken so long to get done.

      • Gyoza Power@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        I prefer that approach. We work with smaller tasks, so it makea more sense, plus it helps keep the master clean and if you want a more detailed view of the specific commits, you just have to click on the link to the PR. It’s a better way to organise it IMO

      • catastrophicblues@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Yeah I worked at a place like that, but it made sense because we were also expected to keep PRs small, so a good commit message for several squashed ones was perfectly fine.

  • lemmesay@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    2 years ago

    [conventional commits] (https://www.conventionalcommits.org/en/v1.0.0/) will save you.
    or maybe commitizen if you’d like not to write them by hand.
    and maybe commit and tag version, which will create changelogs for you of you follow semver

  • EmperorHenry@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    7 months ago

    deleted by creator

    • hypnotic_nerd@programming.devOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 years ago

      git commit -m “break codec sync if UA = firefox/gecko”

  • rustydrd@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    “blah”

  • snaggen@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    deleted by creator

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.

  • 757 users / day
  • 2.63K users / week
  • 6.87K users / month
  • 16.5K users / 6 months
  • 1 local subscriber
  • 24.8K subscribers
  • 1.37K Posts
  • 33.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org