gpt4 book ai didi

github - 找不到 hg-git 存储库

转载 作者:行者123 更新时间:2023-12-04 18:39:47 27 4
gpt4 key购买 nike

我想配置我的 Mercurial 项目,以便能够将其推送到 gitHub 存储库中。

使用命令时:

hg push git+ssh://git@github.com/myusername/myproject.git



我收到一条消息:

abort: repository git+ssh://git@github.com/myusername/myproject.git not found!



我已经检查并建立了 SSH 连接,看起来没问题:

Hi myusername! You've successfully authenticated, but GitHub does not provide shell access.



我从 github 复制的存储库 URL(它是其他开源项目的一个分支): https://github.com/myusername/myproject.git

我还应该检查什么?为什么我有一个它不存在的信息,而实际上它存在?哪里会出问题?

最佳答案

感谢 rfkortekaas,我发现 hg-git 设置存在问题。

在 ~/.hgrc 中必须有:

[extensions]

hgext.bookmarks =

hggit =

关于github - 找不到 hg-git 存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29086331/

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