[英]Cannot push onto Github repository
我无法将代码从我的机器推送到github。 我已经设置了回购:
git remote add origin git@github.com:hugeeee/demo_app.git
键入命令git push -u origin master
时出现此错误:
ssh: Could not resolve hostname github: Name or service not known
fatal: The remote end hung up unexpectedly
有人可以指导我解决问题吗?
运行这个:
git remote set-url origin git@github.com:hugeeee/demo_app.git
确保你真的说“github.com”。 您可能在创建遥控器时遗漏了“.com”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.