8

作为程序员最大代码托管和分享平台,都知道github是国外网站,经常访问会卡,或者进不去,每天我们都要在github里混,如何配置电脑能更快速访问呢?

0 先来感受一下打开速度,觉得有用就点个赞或者收藏吧

clipboard.png

1.打开Dns检测|Dns查询 - 站长工具

2 在检测输入栏中输入http://github.com官网 选一个最小的

clipboard.png

3 找到host文件(怎么找百度下即可)把左侧的输入即可,如下(注意最后一行):

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost

#13.229.188.59 https://github.com 



曦沙飞舞
673 声望15 粉丝

爱前端,爱生活