Mercurial有相当于git clean吗? [英] Does Mercurial have an equivalent to git clean?

查看:93
本文介绍了Mercurial有相当于git clean吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hg clean似乎并不存在,这有点让我困扰。这是一个Mercurial没有的功能吗?或者他们只是命名不同?

核心Mercurial包中的c $ c> git clean 。

然而, hg purge 扩展程序可以完成您所要的操作。



有一个开放的问题,使这个扩展部分的核心包。


hg clean does not seem to exist, which kinda bothers me. Is this a feature that Mercurial doesn't have or did they just name it differently?

解决方案

There is no equivalent to git clean in the core Mercurial package.

However, the hg purge extension does what you are after.

There is an open issue to make this extension part of the core package.

这篇关于Mercurial有相当于git clean吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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