gitee 提交报错 Could not resolve hostname
最近在提交gitee的时候报错:
ssh: Could not resolve hostname ssh.gitee.com: Name or service not known fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
只需要在 本地 hosts 文件,做个映射
首先在 https://tool.lu/ip/ 查找 gitee 的ip地址,比如这里 180.76.199.13
然后在 hosts 文件配置:180.76.199.13 gitee.com
我当记事本用的

浙公网安备 33010602011771号