在 codeberg 上克隆时无法解析主机

在 codeberg 上克隆时无法解析主机

我正在使用 codeberg 进行存储库管理。在我的 Windows PowerShell 上,如果我输入
git clone[电子邮件保护]:codageaider/repotest.git 我收到以下错误:
ssh: could not resolve hostname codeberg.org Name or service not known
不确定为什么无法解析主机名。可能是因为它被
我公司限制了。我也无法 ping 它。因此,我通过从另一台机器执行 ping
来找出 codeberg.org 的 IP 地址 。并使用导致错误的命令 :ssh:连接到主机端口 22:连接超时致命:无法从远程存储库读取... 这可能是什么原因造成的?虽然我可以通过访问193.26.156.135
git clone [email protected]:codageaider/repotest.git
www.codeberg.org 有没有办法可以在我的本地系统上克隆存储库

相关内容