selfteaching / selfteaching/selfteaching-python-camp

【方法分享】 关于加速clone的方法,实测有效

Open
#1,943 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
151
Forks
875
PR merge metrics
No merged PRs in 30d

Description

因为伟大的“墙”,不翻墙,只能修改host文件:
1、查询以下域名的IP地址,可以用 https://www.ipaddress.com/

github.global.ssl.fastly.net
github.com
2、把查询的得到IP 和对应域名放入系统 hosts下(这里需要管理员权限)

151.101.184.249 github.global.ssl.fastly.net
192.30.253.112 github.com
192.30.253.113 github.com
3、刷新DNS

打开CMD 输入

ipconfig /flushdns

这个可以多来几次

然后再去克隆项目,速度从几十k 提升到几百k 甚至上m

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the host-file, GitHub clone, and DNS-flush instructions for accuracy before considering any documentation update. The issue names no repository file or test and does not define a requested change, so it has no clear completion condition.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github
Domain
cli, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.