gpt4 book ai didi

version-control - 将点指定为 Mercurial 中的修订版

转载 作者:行者123 更新时间:2023-12-03 23:34:04 24 4
gpt4 key购买 nike

我发现了一些 Mercurial 命令,其中修订被指定为一个点;例如:

hg revert --all -r .
hg update -C -r .
hg pull -r .

这个点是什么意思?对应哪个版本?

最佳答案

hg help revisions 说:

The reserved name "." indicates the working directory parent. If no working directory is checked out, it is equivalent to null. If an uncommitted merge is in progress, "." is the revision of the first parent.

在大多数情况下,它将是您 checkout 的修订版。

关于version-control - 将点指定为 Mercurial 中的修订版,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31180438/

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