# gist 上不去
1. 改host
~~~
192.30.253.118 gist.github.com
~~~
2. 用 https://www.cacher.io/ 關聯GitHub賬號好就可以了。還能夠標簽管理,不過有時候速度略慢。
3. 最近打開gist.github.com就會出現問題,打不開,記錄一個推薦的辦法,很有效果
~~~
192.30.252.141 gist.github.com
185.31.17.184 github.global.ssl.fastly.net
185.31.17.184 github-camo.global.ssl.fastly.net
~~~
很有效果,不信你也試試
打開
https://site.ip138.com/raw.Githubusercontent.com/
https://www.ipaddress.com/
http://ip.chinaz.com/
查詢以下三個鏈接的DNS解析地址
1. github.com
2. assets-cdn.github.com
3. github.global.ssl.fastly.net
# 打不開 github?
* [http://ping.chinaz.com/](http://ping.chinaz.com/)
搜索 github.com 海外ip,其實能找到的就兩個;然后再搜 gist.github.com 海外ip,也是兩個。
* 使用 [ipaddress](https://www.ipaddress.com/ip-lookup) 網站,添加 dns 解析
[https://www.freesion.com/article/890437390/](https://www.freesion.com/article/890437390/)
將它們加入到 hosts 文件中。
1. 改host
~~~
192.30.253.118 gist.github.com
~~~
2. 用 https://www.cacher.io/ 關聯GitHub賬號好就可以了。還能夠標簽管理,不過有時候速度略慢。
3. 最近打開 gist.github.com 就會出現問題,打不開,記錄一個推薦的辦法,很有效果
~~~
192.30.252.141 gist.github.com
185.31.17.184 github.global.ssl.fastly.net
185.31.17.184 github-camo.global.ssl.fastly.net
~~~
很有效果,不信你也試試
打開網站
https://www.ipaddress.com/
http://ip.chinaz.com/
查詢以下三個鏈接的 DNS 解析地址
1. github.com
2. assets-cdn.github.com
3. github.global.ssl.fastly.net
## 使用鏡像加速
[https://greasyfork.org/zh-CN/scripts/398278-github-鏡像訪問-加速下載/code]
https://greasyfork.org/en/scripts/397419-github-鏡像加速訪問-下載-修復-增加站點/code?locale_override=9
## 鏡像網站
https://hub.fastgit.org/
https://github.com.cnpmjs.org/
https://git.sdut.me/
## 修改倉庫push url
為了解決使用國內鏡像網站clone下來的項目無法push的問題,我們需要將clone下來的倉庫push url修改為github.com。如下圖:

> [Github 國內加速克隆及下載](https://www.gushiciku.cn/pl/gVsw)
- 介紹
- 1. Get Git - 安裝并且設置Git
- 2. Repository - 建立一個本地的repository
- 3. Commit to it - 檢查狀態、新增或修改commits
- 4. GitHubbin - 注冊GitHub帳號
- 5. Remote Control - 將repository做本地和遠程的連接
- 6. Forks and Clones - Fork和clone一個開源的計劃
- 7. Branches aren't just for Birds - 建立一個feature branch
- Git分支開發模型
- 8. It's a Small World - 邀請并和別人合作
- 9. Pull, Never Out of Date - 利用Push和pull來和GitHub.com同步
- 10. Requesting You Pull Please - 建立一個pull request
- 11. Merge Tada - Merge和刪除branches
- 學會 GitHub
- GitHub 使用指南
- git 與 github 模板配置
- GitHub Actions
- 實用技巧
- Git Flow
- Submodule子模塊
- 工作記錄
- 常用命令
- 幫助
- 資源
- 解疑答惑