gpt4 book ai didi

mercurial - 使用 Mercurial 队列将未提交的更改添加到新补丁中

转载 作者:行者123 更新时间:2023-12-03 06:45:40 24 4
gpt4 key购买 nike

在Mercurial中创建补丁的过程如下:

使用 qnew 创建补丁 -> 进行更改 -> 刷新补丁

如果我已经进行了(未提交的)更改并且想将它们添加到队列中怎么办?

最佳答案

这取决于您的版本,看起来在 1.5.1 中有所改变。

1.5.1 或更高版本

该命令将默认添加任何未提交的更改

qnew creates a new patch on top of the currently-applied patch (if any). The patch will be initialized with any outstanding changes in the working directory.

1.5.1 之前

您想要使用qnew -f。来自 docs :

-f: Create a new patch if the contents of the working directory are modified. Any outstanding modifications are added to the newly created patch, so after this command completes, the working directory will no longer be modified.

关于mercurial - 使用 Mercurial 队列将未提交的更改添加到新补丁中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3859875/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com