如何删除 Bazaar 中未版本控制的文件?
如何从 Bazaar 工作区中删除所有未版本控制的文件?我正在寻找相当于 hg purge --all
或 git clean -fd
的操作。
How can I remove all unversioned files from a Bazaar workspace? I'm looking to do the equivalent of hg purge --all
or git clean -fd
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我只在 BzrTools 中看到过这个,作为 clean-tree 命令。
I've seen this only in BzrTools, as the clean-tree command.
本杰明·波拉克说道:
bzr help
仅显示最常用命令的摘要。要查看所有可用命令,请使用bzr 帮助命令
。(很抱歉回答而不是评论......我还没有足够的声誉)
Benjamin Pollack said:
bzr help
only shows a summary of the most commonly used commands. To see all available commands, usebzr help commands
.(Sorry to answer instead of comment ... I don't have sufficient reputation yet)
我为此写了一篇bash one liner:
I wrote a bash one liner for this: