Mercurial hg strip 无效命令解决
博客专区 > yu82694 的博客 > 博客详情
Mercurial hg strip 无效命令解决
yu82694 发表于8个月前
Mercurial hg strip 无效命令解决
  • 发表于 8个月前
  • 阅读 20
  • 收藏 0
  • 点赞 0
  • 评论 0

腾讯云 新注册用户 域名抢购1元起>>>   

摘要: Mercurial

Strip Extension

This extension is distributed with Mercurial 2.8 and later. For Mercurial versions older than 2.8, you can get the same functionality by enabling the MqExtension.

Authors: Chris Mason, Pierre-Yves David

 

目录

  1. Overview
  2. Configuration
  3. Usage

 

1. Overview

The strip extension provides the strip command to remove changesets and their descendants from the repository.

 

2. Configuration

Enable the extension by adding the following lines to your .hgrc or Mercurial.ini:

 

[extensions]
strip =

 

3. Usage

To remove a changeset and its descendants from the repository:

 

hg strip <REV>

To remove the working directory's parent from the repository, but keep the changes from that changeset in the working directory:

 

hg strip --keep .

Strip is not a history-rewriting operation and can be used on public changesets.

See strip for more details.

 

CategoryBundledExtension

标签: Mercurial
共有 人打赏支持
粉丝 2
博文 42
码字总数 5954
×
yu82694
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: