gpt4 book ai didi

Mercurial 克隆错误

转载 作者:行者123 更新时间:2023-12-02 22:28:21 24 4
gpt4 key购买 nike

每次我尝试将存储库从本地笔记本电脑克隆到测试服务器(使用 ssh)时,.hg 目录是唯一克隆的目录,并且源永远不会被复制。我不确定是什么原因造成的,因为这是不寻常的行为。有什么想法吗?

谢谢

本地

app
sys
.hg

克隆命令

hg clone repo ssh://user@host/repo

克隆后的服务器

.hg

最佳答案

这是预期的。请参阅hg帮助克隆:

It is possible to specify an "ssh://" URL as the destination, but no .hg/hgrc and working directory will be created on the remote side. Please see "hg help urls" for important details about "ssh://" URLs.

如果您在克隆后登录服务器,您应该能够在远程存储库中运行 hg update 来创建工作目录。

关于Mercurial 克隆错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5043031/

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