丢弃多个TortoiseHg中的提交 [英] Discarding more than one commit in TortoiseHg

查看:127
本文介绍了丢弃多个TortoiseHg中的提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用TortoiseHg.
我做了一个错误的提交,然后又做了一个错误的提交.
两个提交都处于草稿状态(尚未推送).
我想完全忽略此提交,然后回想它们从未提交过的地方.

I am using TortoiseHg.
I did a false commit, and then another false commit.
Both commits are in draft state (not yet pushed).
I want to completely ignore this commits and go back as if they where never committed.

执行回滚似乎仅删除最后的提交.
我该怎么做简单的任务?

Doing Rollback seems to only remove the last commit.
How can I do that simple task?

推荐答案

在设置中启用mqstrip扩展名,然后在更改集上下文菜单中使用Modify History -> Strip

In settings enable either the mq or strip extension, then in a changeset context menu use Modify History -> Strip

这篇关于丢弃多个TortoiseHg中的提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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