微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

【GitHub】新建仓库+连接超时问题

创建仓库

上传本地的文件
右键点击项目文件
git bash here
首次上传

git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/E1evenCc/Calculus.git
git push -u origin master

再次上传

git remote add origin https://github.com/E1evenCc/Calculus.git
git push -u origin master

解决github 打开、拉取、推送速度慢的问题

一、进入ipaddress.com查找以下域名对应的IP地址

1、github.com
2、github.global.ssl.fastly.net

二、更新host文件

三、刷新DNS

ipconfig /flushdns

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐