Gifted Minecraft
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
𝕨𝕒𝕤𝕒𝕓𝕚@feddit.de to Programmer Humor@lemmy.mlEnglish · 2 years ago

We've all been there

feddit.de

message-square
11
fedilink
134

We've all been there

feddit.de

𝕨𝕒𝕤𝕒𝕓𝕚@feddit.de to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
11
fedilink
  • 𝕨𝕒𝕤𝕒𝕓𝕚@feddit.deOP
    link
    fedilink
    arrow-up
    12
    ·
    2 years ago

    I assume the accident was not to force push, but to the wrong branch

    • magic_lobster_party@kbin.social
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      I hope they learned the value of protecting your branches.

    • Redscare867@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      2 years ago

      This is why I always git push origin +branch_name

      • forgeddit@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 years ago

        My go-to these days is to push the current branch, dynamically.
        git push origin HEAD

        Depending on the VC, HEAD has different prefix/suffixes to make it work.

        Edit: formatting, also I never checkout master I do origin/master so I cannot even push it with this method. I think

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 397 users / day
  • 803 users / week
  • 3.37K users / month
  • 9.97K users / 6 months
  • 1 local subscriber
  • 36.2K subscribers
  • 1.57K Posts
  • 26K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.9
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org