Campfyre
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RmDebArc_5@piefed.zip to Programmer Humor@programming.devEnglish · 9日前

I'd watch a movie about that

media.piefed.zip

message-square
43
fedilink
1.11K

I'd watch a movie about that

media.piefed.zip

RmDebArc_5@piefed.zip to Programmer Humor@programming.devEnglish · 9日前
message-square
43
fedilink
  • Otter@lemmy.ca
    link
    fedilink
    arrow-up
    36
    ·
    9日前
    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
      45
      ·
      9日前

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

      • Otter@lemmy.ca
        link
        fedilink
        arrow-up
        9
        ·
        9日前

        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
          ·
          9日前

          Or just git push origin --force blank:main

          • fartographer@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            9日前

            Live your best life. git pull blindly.

    • Otter@lemmy.ca
      link
      fedilink
      arrow-up
      10
      ·
      9日前

      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
        16
        ·
        9日前

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

        • Otter@lemmy.ca
          link
          fedilink
          arrow-up
          7
          ·
          9日前

          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.

  • 726 users / day
  • 4.03K users / week
  • 9.43K users / month
  • 18.5K users / 6 months
  • 1 local subscriber
  • 31.1K subscribers
  • 2.22K Posts
  • 82.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org