git push出错 remote: Hook Error: request authorize server: curl error: Couldn't resolve host name

 解决方案:

git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/***.git
git push -u origin master

重新输入命令,并且修改git  commit  -m   "***"   ,  修改双引号里面的值!

为什么我有这样的想法,因为最初,我提交过,很成功,这个项目提交一个新仓库竟然出错了,那么肯定是有问题的。

我分析了一下,问题应该出在提交的注释上。嗯还真是!

希望对你有用:

发布了837 篇原创文章 · 获赞 752 · 访问量 17万+

猜你喜欢

转载自blog.csdn.net/qq_41946557/article/details/104869755