ssh:无法解析主机名 ssh:提供节点名称或服务名称,或未知
来源:2-2 go 代理和慕课网 git 设置

慕粉13598913215
2023-05-23
go: git.imooc.com/coding-535/common@v0.0.0-20220913123407-af94ee6eb5c3: invalid version: git ls-remote -q origin in /Users/xugang/go/pkg/mod/cache/vcs/e751c79984ecd4b50c236bd2655472de34da8493a9bc6932b8ffb477107202a1: exit status 128:
ssh: Could not resolve hostname ssh: nodename nor servname provided, or not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
go: downloading git.imooc.com/coding-535/common v0.0.0-20220913123407-af94ee6eb5c3
go: git.imooc.com/coding-535/common@v0.0.0-20220913123407-af94ee6eb5c3: invalid version: git ls-remote -q origin in /Users/xugang/go/pkg/mod/cache/vcs/e751c79984ecd4b50c236bd2655472de34da8493a9bc6932b8ffb477107202a1: exit status 128:
ssh: Could not resolve hostname ssh: nodename nor servname provided, or not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
2回答
-
Cap
2023-05-24
012023-05-24 -
Cap
2023-05-24
使用go get 重新下一次后面不要带小版本
0102023-05-25
相似问题