代码: 全选
● git config --global https.proxy localhost:8087
● git config --global core.gitproxy localhost:8087
● git config --global http.proxy localhost:8087
● git remote add httpsgithub https://git@github.com:eexpress/eexp-bin.git
● git remote add http-github http://git@github.com:eexpress/eexp-bin.git
代码: 全选
● sudo git config --system http.sslcainfo /bin/curl-ca-bundle.crt
● sudo git config --system https.sslcainfo /bin/curl-ca-bundle.crt
● cat /etc/gitconfig
[http]
sslcainfo = /bin/curl-ca-bundle.crt
[https]
sslcainfo = /bin/curl-ca-bundle.crt
● git push httpsgithub
error: Problem with the SSL CA cert (path? access rights?) while accessing https://git@github.com:eexpress/eexp-bin.git/info/refs
fatal: HTTP request failed
● git push http-github
error: The requested URL returned error: 501 while accessing http://git@github.com:eexpress/eexp-bin.git/info/refs
fatal: HTTP request failed