在工作中我有一个代理,在家里我没有代理
在工作中我设置代理如:
git config - -global http.proxy http://proxy.theaddress.co.uk:8080
git config - -global https.proxy https://proxy.theaddress.co.uk:8080
在家里,我删除了代理
git config --global --unset http.proxy
git config --global --unset https.proxy
我正试着用我的git repo推送一些东西
git push -u origin master
我明白了
Could not resolve proxy: proxy.theaddress.co.uk
.gitconfig文件如下所示。
[user]
name = first last
email = first.last@sitname.co.uk
[http]
[https]
[push]
default = current
[http]
[core]
excludesfile = /Users/first.last/.gitignore_global
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[http]
[https]
[http]
[https]
[http]
[https]
[http]
[https]
[http]
[https]
[filter "media"]
clean = git media clean %f
smudge = git media smudge %f
required = true
[http]
[https]
[https]
[http]
[http]
[https]
[http]
如何删除代理?