Reset git proxy to default configuration -


i installed socat use git protocol through http connect proxy, create script called gitproxy in bin directory.

#!/bin/sh # use socat proxy git through http connect firewall. # useful if trying clone git:// inside company. # requires proxy allows connect port 9418. # # save file gitproxy somewhere in path (e.g., ~/bin) , run # chmod +x gitproxy # git config --global core.gitproxy gitproxy # # more details @ http://tinyurl.com/8xvpny  # configuration. common proxy ports 3128, 8123, 8000. _proxy=proxy.yourcompany.com _proxyport=3128  exec socat stdio proxy:$_proxy:$1:$2,proxyport=$_proxyport 

then configured git use it:

$ git config --global core.gitproxy gitproxy 

now, want reset git default proxy configurations, how can ?

you can remove configuration with:

git config --global --unset core.gitproxy 

Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -