Lemmy.eus
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemdro.id to Programmer Humor@programming.devEnglish · 1 month ago

When you screw up git

lemmy.zip

message-square
15
fedilink
2

When you screw up git

lemmy.zip

cm0002@lemdro.id to Programmer Humor@programming.devEnglish · 1 month ago
message-square
15
fedilink
alert-triangle
You must log in or # to comment.
  • katy ✨@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago
    git reset --hard <commit-hash>  
    git push -f origin main  
    

    i didn’t see anything, officer

    • martinb@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      You should be forcibly kept away from production systems…

      • henfredemars@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        We had an intern do this once. We changed our server config to make sure it wouldn’t accept such operations.

  • kubica@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    git out --never-come-back

  • Cevilia (she/they/…)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    Holy fuck, that’s a long phone number

    • √𝛂𝛋𝛆@piefed.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      It is a duplicated repeating error because this clownshow of a website is managed by squirrels and ducks. 1-800-273-8255 would be a valid US number. Doubling 273-8255 is not, but probably vibe coded under management that should be purged by these results.

      • Whostosay@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        Why not 1800-SUICIDE?

        • √𝛂𝛋𝛆@piefed.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          intentions unclear. Am I calling For or Against

        • locuester@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 month ago

          It’s 1-800-APE-TALK

          • Whostosay@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            1 month ago

            Lmao not willing to do the phone math rn, does that actually fit the numbers?

    • guillem@aussie.zone
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      It’s easier to remember if you sing it.

    • Catoblepas@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Well, that’s easy to remember! 0118, 999, 881, 999, 119, 725…3.

  • magic_lobster_party@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Keep your commits small. Merge often. That will reduce the likelihood of terrible merge conflicts.

    If you’re not sharing your work with your team mates for a long time, then you’re setting yourself up for trouble.

  • peoplebeproblems@midwest.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    Been there too OP. Not a good place.

    It’s usually easier to find another job, it will reset your mind, and fear won’t be driving you.

    Or you could just commit what you have, comment “YOLO” and auto resolve conflicts and push.

  • 1984@lemmy.today
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    edit-2
    1 month ago

    So cool, I havent seen an ad like this in at least a decade. I use something called an ad blocker and also I switched to Kagi, so… :)

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.

  • 874 users / day
  • 4.78K users / week
  • 7.63K users / month
  • 17.4K users / 6 months
  • 3 local subscribers
  • 27.3K subscribers
  • 1.69K Posts
  • 38.9K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org