我怎样才能一次删除所有的Git存储? [英] How can I delete all of my Git stashes at once?

查看:281
本文介绍了我怎样才能一次删除所有的Git存储?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何一次性删除我的所有 Git 内容?

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

具体而言,我的意思是,用一个命令输入。

Specifically I mean, with typing in one command.

推荐答案

它满足您的需求: / p>

It does what you need:

git stash clear

git文档

From the git documentation:


清除

clear

删除所有隐藏的状态。请注意,这些州将受到修剪,并可能无法恢复(...)。

Remove all the stashed states. Note that those states will then be subject to pruning, and may be impossible to recover (...).

这篇关于我怎样才能一次删除所有的Git存储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆