赞
踩
执行git push origin dev,重试多次都是报错:
ssh: Could not resolve hostname ssh.github.com: Temporary failure in name resolution fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
ping: www.qq.com: Temporary failure in name resolution
sudo vi /etc/resolv.conf
- # This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
- # [network]
- # generateResolvConf = false
- nameserver 8.8.8.8
sudo systemctl restart systemd-resolved.service
再执行即可成功!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。