gpt4 book ai didi

Mercurial Unstage 工作目录中的特定文件

转载 作者:行者123 更新时间:2023-12-04 09:37:40 25 4
gpt4 key购买 nike

我有一个未提交的变更集。我想提交一些更改,但不提交一些文件(例如在 git 中取消暂存文件)。这可以在 mercurial 中完成吗?

最佳答案

使用 -X选项 hg commit排除某些文件。您可以在命令行上多次指定它。例如,

hg commit -X path/to/unwanted/file -X path/to/another/file

关于Mercurial Unstage 工作目录中的特定文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5476789/

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