My Lemmy Oracle
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RmDebArc_5@piefed.zip to Programmer Humor@programming.devEnglish · 1 day ago

I'd watch a movie about that

media.piefed.zip

message-square
45
fedilink
1.18K

I'd watch a movie about that

media.piefed.zip

RmDebArc_5@piefed.zip to Programmer Humor@programming.devEnglish · 1 day ago
message-square
45
fedilink
  • Otter@lemmy.ca
    link
    fedilink
    arrow-up
    40
    ·
    1 day ago
    rm -rf *
    
    git add -A
    git commit -m "oops."
    
    rm -rf .git
    git init
    git add .
    git commit -m "bye."
    
    git push origin main --force
    
    • black_flag@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      50
      ·
      1 day ago

      rm-ing .git isn’t gonna work cuz you’ll have to re-add the remotes.

      • Otter@lemmy.ca
        link
        fedilink
        arrow-up
        8
        ·
        1 day ago

        Oh good point 🤦

        So maybe instead, we can clear all local + remote branches and tags, create a blank branch, delete main, rename the blank branch to main, then delete .git

        Although the OP says that we can merge anything, and we might not have access to mess with branches

        • ozymandias117@lemmy.world
          link
          fedilink
          English
          arrow-up
          11
          ·
          1 day ago

          Or just git push origin --force blank:main

          • fartographer@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            15 hours ago

            Live your best life. git pull blindly.

    • Otter@lemmy.ca
      link
      fedilink
      arrow-up
      11
      ·
      1 day ago

      I’m not sure about the git history wipe, I can’t test it myself right now

      • Midnitte@beehaw.org
        link
        fedilink
        English
        arrow-up
        18
        ·
        1 day ago

        Just test it on production, you could do it right now

        • Otter@lemmy.ca
          link
          fedilink
          arrow-up
          8
          ·
          1 day ago

          Goodbye fedecan.ca

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: [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
Visibility: Public
globe

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

  • 996 users / day
  • 4.26K users / week
  • 9.49K users / month
  • 18.1K users / 6 months
  • 1 local subscriber
  • 30.9K subscribers
  • 2.29K Posts
  • 86.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org