首页 > 其他分享 >把项目放在github

把项目放在github

时间:2023-03-22 11:03:43浏览次数:51  
标签:git unable 项目 放在 github 报错 https com

一.右上角加号新建一个new repository
填入时license下拉框选择Apache为需要验证,MIT为公开随意拉取
二.git clone拉取代码
报错fatal: unable to access 'https://github.com/1401330051/supermall.git/': Failed to connect to github.com port 443 after 21061 ms: Timed out
解决方案:把http换成git
报错fatal: unable to connect to github.com:
github.com[0: 20.205.243.166]: errno=Unknown error
解决方案:打开cmd输入git config --global url."https://github.com".insteadOf git://github.com
三.在文件夹里复制粘除了git.文件外所有文件
四.提交代码

标签:git,unable,项目,放在,github,报错,https,com
From: https://www.cnblogs.com/LuMinarY-/p/17242859.html

相关文章