How can I delete all of my Git stashes at once?

前端 未结 7 2096
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-22 14:42

How can I delete all of my Git stashes at once?

Specifically I mean, with typing in one command.

相关标签:
7条回答
  • 2020-12-22 15:13

    The following command deletes all your stashes:

    git stash clear
    

    From the git documentation:

    clear

    Remove all the stashed states.

    IMPORTANT WARNING: Those states will then be subject to pruning, and may be impossible to recover (...).

    0 讨论(0)
提交回复
热议问题