【git】解决能访问github但克隆不了的问题

@TOC


1.查看你的代理的地址:

2.git设置

先看看当前的git设置

$ git config --list

然后git中要设置好对应的地址

git config --global http.proxy 127.0.0.1:7890

3.尝试clone

$ git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git
正克隆到 'wallpaper-engine-kde-plugin'...
remote: Enumerating objects: 7491, done.
remote: Counting objects: 100% (1538/1538), done.
remote: Compressing objects: 100% (492/492), done.
remote: Total 7491 (delta 1026), reused 1402 (delta 995), pack-reused 5953
接收对象中: 100% (7491/7491), 5.43 MiB | 971.00 KiB/s, 完成.
处理 delta 中: 100% (4687/4687), 完成.

成功!

Last updated