MTGZone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Phoenix3875@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago

One command to rule them all

lemmy.world

message-square
25
fedilink
231

One command to rule them all

lemmy.world

Phoenix3875@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago
message-square
25
fedilink
  • sickday@kbin.social
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    2 years ago

    git stash my friend

    • BlueBockser@programming.dev
      link
      fedilink
      arrow-up
      17
      arrow-down
      1
      ·
      2 years ago

      I think git clean is more appropriate. With git stash you create a stash which you then have to drop.

      • HairHeel@programming.dev
        link
        fedilink
        arrow-up
        37
        ·
        2 years ago

        Who says you have to drop it? I’ve got stuff from 2007 in there somewhere.

        • BlueBockser@programming.dev
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          2 years ago

          Of course you don’t have to, but if you don’t plan on ever using it then it’s just trash living in your git folder. If you do plan on using it again in the future, then it’s usually better to make it a branch so you can push it to a remote.

      • sickday@kbin.social
        link
        fedilink
        arrow-up
        9
        ·
        2 years ago

        Yea but you can always git pop if you need any of your stashed changes

        • Ocelot@lemmies.world
          link
          fedilink
          arrow-up
          8
          ·
          2 years ago

          i chuckled at the thought of ‘git poop’ being a command. I’m going to alias that to something.

          • PoastRotato@lemmy.world
            link
            fedilink
            arrow-up
            9
            ·
            edit-2
            2 years ago

            You could make it run git pop until it clears the whole stash

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.

  • 1.92K users / day
  • 4.45K users / week
  • 9.2K users / month
  • 17.9K users / 6 months
  • 4 local subscribers
  • 23.3K subscribers
  • 1.41K Posts
  • 51.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org