我无法连接到 https://github.com/..。 当我使用 git 时,我可以像这样使用 ssh 或 gitclone:
git config --global url."https://gitclone.com/github.com".insteadOf https://github.com
这样,我就可以在任何地方轻松使用
git clone
了。
但是,对于分片,它会从 Yaml 配置文件中读取依赖项。
我可以在解决单个依赖时将github: ...
更改为git: ...
,但它的依赖仍然无法访问。
请帮帮我!有什么解决办法吗?
您是否尝试过那个配置示例?
shards
只是调用git
程序。您在 shards
之外使用的任何配置也应该适用于它的 git 操作。