等同于hg clone --noupdate在git中?

问题描述 投票:1回答:1

[我们使用hglib的整个系统已经使用了相当长的一段时间,我们正在创建一个抽象层来定制系统的某些需求,但是我在理解等效项方面有困难

hg clone source destination --noupdate in Git

-U --noupdate the clone will include an empty working directory (only a repository)

https://www.mercurial-scm.org/repo/hg/help/clone

先谢谢您。

git version-control mercurial equivalent version-control-migration
1个回答
0
投票

经过大量的网络浏览,找到了一个不错的对等物:

git clone --no-checkout

我的用例:

我们想要某种裸露的克隆,--noupdate标志用于HG的方式。

[从技术上讲,我想在git中如果不检查就可以克隆它。

如果其他人的答案很好,欢迎您修改此答案。

© www.soinside.com 2019 - 2024. All rights reserved.