Åhall
  • 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
22
fedilink
231

One command to rule them all

lemmy.world

@Phoenix3875@lemmy.world to Programmer Humor@programming.devEnglish • 2 years ago
message-square
22
fedilink
  • @joyjoy@lemmy.world
    link
    fedilink
    English
    14•2 years ago

    Neither remove untracked files sadly.

    • sickday
      link
      fedilink
      9•2 years ago

      git stash my friend

      • @BlueBockser@programming.dev
        link
        fedilink
        16•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
          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
            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
          link
          fedilink
          9•2 years ago

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

          • Ocelot
            link
            fedilink
            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
              9•
              edit-2
              2 years ago

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

    • @slampisko@czech-lemmy.eu
      link
      fedilink
      1•2 years ago

      That’s why I follow it with git clean -fd

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
  • 961 users / day
  • 3.95K users / week
  • 8.82K users / month
  • 18.2K users / 6 months
  • 27.6K subscribers
  • 1.97K Posts
  • 75.5K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org