How can I delete all of my Git stashes at once?
(如何一次删除所有Git stashes?)
Specifically I mean, with typing in one command.
(具体来说,我的意思是,输入一个命令。)
The following command deletes all your stashes:
(以下命令删除所有存储:)
git stash clear
From the git documentation :
(从git文档 :)
clear Remove all the stashed states. (删除所有隐藏状态。) IMPORTANT WARNING: Those states will then be subject to pruning, and may be impossible to recover (...). (重要警告:这些州将进行修剪,可能无法恢复(......)。)
clear
Remove all the stashed states.
(删除所有隐藏状态。)
IMPORTANT WARNING: Those states will then be subject to pruning, and may be impossible to recover (...).
(重要警告:这些州将进行修剪,可能无法恢复(......)。)
1.4m articles
1.4m replys
5 comments
57.0k users