E:\PDFium>git clone https://pdfium.googlesource.com/pdfium
Cloning into 'pdfium'...
fatal: unable to access 'https://pdfium.googlesource.com/pdfium/': Failed connect to pdfium.googlesource.com:443; No error
解决:
git config --global http.proxy http://proxy.com:1234
git config --global https.proxy http://proxy.com:1234git config --global http.sslverify false
转自:http://ricksu.blog.163.com/blog/static/18906433820125294929508/
参考:http://infong.net/config-proxy-for-git/
我使用本机上的小软件翻墙,所以设置为
E:\PDFium>git config --global http.proxy http://127.0.0.1:8580E:\PDFium>git config --global https.proxy https://127.0.0.1:8580
E:\PDFium>git config --global http.SSLVERIFY false
以上部分为为转载:http://blog.csdn.net/dragoo1/article/details/39551335
我用第一种方式不可以,当时我电脑有也有翻墙小软件,用第二种方式实现了
C:\Users\Administrator> git clone https://android.googlesource.com/platform/f
rameworks/volley
Cloning into 'volley'...
fatal: unable to access 'https://android.googlesource.com/platform/frameworks/vo
lley/': Failed to connect to proxy.com port 1080: Timed out
C:\Users\Administrator>git config --global http.proxy http://127.0.0.1:8580C:\Users\Administrator>git config --global https.proxy https://127.0.0.1:8580
C:\Users\Administrator>git config --global http.SSLVERIFY false
C:\Users\Administrator> git clone https://android.googlesource.com/platform/f
rameworks/volley
Cloning into 'volley'...
remote: Counting objects: 75, done
remote: Finding sources: 100% (75/75)
remote: Total 2922 (delta 268), reused 2922 (delta 268)
Receiving objects: 100% (2922/2922), 1.14 MiB | 235.00 KiB/s, done.
Resolving deltas: 100% (268/268), done.
Checking connectivity... done.