231
One command to rule them all
(lemmy.world)
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.
I think
git clean
is more appropriate. Withgit stash
you create a stash which you then have to drop.Who says you have to drop it? I've got stuff from 2007 in there somewhere.
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.
Yea but you can always
git pop
if you need any of your stashed changesi chuckled at the thought of 'git poop' being a command. I'm going to alias that to something.
You could make it run
git pop
until it clears the whole stash