git clone googlesource
PC机上安装:无 界 浏 览 (发邮件给 yfeng9811@gmail.com)
启动后勾选:无 界 分 享
ubuntu中配置git:
git config --global http.proxy http://192.168.1.2:9666
git config --global https.proxy https://192.168.1.2:9666
取消则执行:
git config --global --unset http.proxy
git config --global --unset https.proxy
另外一个方法,从https://github.com/googlehosts/hosts/blob/master/hosts-files/hosts
下载最新的hosts,替换/etc/hosts
如果是操作系统全局的设置代理,则:
export http_proxy=http://192.168.1.101:9666
export https_proxy=https://192.168.1.101:9666
对应的取消命令:
unset http_proxy
unset https_proxy