There are too many entries in my git stash: % git stash list | wc -l 69 I would like to completely empty it, nothing there matters, it’s all draft junk accumulated over months. % git stash clear Verification: % git stash list | wc -l 0 That’s all! It’s the first time I ran this command. Normally I do this instead: % git stash drop drop Remove a single stash entry from the list of stash entries. In zsh land, if I hadn’t learned about stash clear, I could have done the following instead: % repeat 100 git stash drop …popping each entry one by one. — § —Reply via email#dev #git
No comments yet. Log in to reply on the Fediverse. Comments will appear here.