Upvote!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemdro.id to Programmer Humor@programming.devEnglish · 3 days ago

When you screw up git

lemmy.zip

message-square
64
fedilink
762

When you screw up git

lemmy.zip

cm0002@lemdro.id to Programmer Humor@programming.devEnglish · 3 days ago
message-square
64
fedilink
  • unalivejoy@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    2 days ago

    Never use --force. Always use --force-with-lease.

    • enbiousenvy@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      I’ve mistyped that a couple of times to be --force-with-leash

      • unalivejoy@lemmy.zip
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        git push origin master --force-with-leash

        Don’t do that to your master.

      • katy ✨@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 days ago

        only do that in puppygit (with consent)

        • enbiousenvy@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          TIL thats a real thing https://github.com/catpuppyapp/PuppyGit

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.

  • 2.31K users / day
  • 6.13K users / week
  • 9.9K users / month
  • 19.8K users / 6 months
  • 1 local subscriber
  • 26.9K subscribers
  • 1.75K Posts
  • 61.5K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.6
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org