git使用代理
摘要:一、在项目的根目录下,输入:git config --add http.proxy 127.0.0.1:8087(你的goagent本地端口)并且remote server 使用github https 地址,就可以肆意的提交代码了。二、用ssh就好了(中括号替换成对应名字):git remote set-url origin git@github.com:[username]/[reponame].git前提是提交了公钥。Windows下建议用 GitHub for Windows三、push的时候别用git协议,用https,在./.git/config里添加:[http]proxy =h
阅读全文
posted @ 2013-05-26 21:15