无法登陆github官网问题记录

无法登陆github官网问题记录

先贴出来我的host文件内容

感谢以下博主的文章!弄了一天哭了
https://blog.csdn.net/qq_38232598/article/details/91346392
https://blog.csdn.net/weixin_45126117/article/details/103160228
https://blog.csdn.net/weixin_43935907/article/details/90044553

13.229.188.59      github.com
13.229.188.59     gist.github.com

151.101.184.133    assets-cdn.github.com
151.101.184.133    raw.githubusercontent.com
199.232.28.133     raw.githubusercontent.com 
151.101.184.133    gist.githubusercontent.com
151.101.184.133    cloud.githubusercontent.com
151.101.184.133    camo.githubusercontent.com
199.232.96.133     avatars.githubusercontent.com
151.101.184.133    avatars0.githubusercontent.com
199.232.68.133     avatars0.githubusercontent.com
199.232.28.133     avatars0.githubusercontent.com 
199.232.28.133     avatars1.githubusercontent.com
151.101.184.133    avatars1.githubusercontent.com
151.101.108.133    avatars1.githubusercontent.com
151.101.184.133    avatars2.githubusercontent.com
199.232.28.133     avatars2.githubusercontent.com
151.101.184.133    avatars3.githubusercontent.com
199.232.68.133     avatars3.githubusercontent.com
151.101.184.133    avatars4.githubusercontent.com
199.232.68.133     avatars4.githubusercontent.com
151.101.184.133    avatars5.githubusercontent.com
199.232.68.133     avatars5.githubusercontent.com
151.101.184.133    avatars6.githubusercontent.com
199.232.68.133     avatars6.githubusercontent.com
151.101.184.133    avatars7.githubusercontent.com
199.232.68.133     avatars7.githubusercontent.com
151.101.184.133    avatars8.githubusercontent.com
199.232.68.133     avatars8.githubusercontent.com
199.232.96.133     avatars9.githubusercontent.com

13.229.188.59 github.com
13.229.188.59 gist.github.com
这两个是在
http://tool.chinaz.com/dns?type=1&host=github.com&ip=
网站中找到的,见引用的第三篇博文,TTL值最小的填上。剩下的部分见引用的第一篇博文,我没改。
再次感谢以上三位博主!!!
就能进入github了!!!
在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
GitHub是一个基于Git版本控制系统的代码托管平台,它提供了代码仓库的管理、版本控制、协作开发等功能。下面是使用GitHub的一般步骤: 1. 注册账号:首先,你需要在GitHub官网上注册一个账号。访问https://github.com,点击右上角的"Sign up"按钮,按照提示填写相关信息完成注册。 2. 创建仓库:登录后,在主页上点击右上角的"+"按钮,选择"New repository"来创建一个新的代码仓库。填写仓库名称、描述等信息,并选择公开或私有等权限设置。 3. 克隆仓库:在你的本地计算机上选择一个合适的目录,打开命令行终端,使用`git clone`命令将远程仓库克隆到本地。例如:`git clone https://github.com/your-username/your-repository.git`。 4. 添加文件:将你的代码或项目文件复制到本地仓库目录中。然后使用`git add`命令将文件添加到暂存区,例如:`git add file1 file2`。 5. 提交更改:使用`git commit`命令提交你的更改到本地仓库,例如:`git commit -m "commit message"`。这个提交操作会记录你的更改,并附带一条简短的说明。 6. 推送到远程仓库:使用`git push`命令将本地仓库的更改推送到远程仓库,例如:`git push origin master`。这样其他人就可以看到你的更改了。 7. 分支管理:你可以使用`git branch`命令创建、切换、删除分支,使用`git merge`命令合并分支等操作来管理代码的不同版本。 8. 协作开发:GitHub提供了多人协作开发的功能。你可以邀请其他人加入你的仓库,共同开发项目。其他人可以通过克隆仓库、创建分支、提交更改等操作来参与协作。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值