Set proxy for Microsoft Git Provider in Visual Studio

前端 未结 4 2266
有刺的猬
有刺的猬 2021-01-02 09:30

I have to use http proxy to connect to Git server. I am able to set it through Git Bash and use it too through the following command:

git config --global htt         


        
4条回答
  •  死守一世寂寞
    2021-01-02 10:05

    You can set a proxy for Visual Studio as in https://msdn.microsoft.com/en-us/library/dn771556.aspx :

    Find devenv.exe.config (the devenv.exe configuration file) in: %ProgramFiles%\Microsoft Visual Studio 14.0\Common7\IDE (or %ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\IDE).

    In the configuration file, find the block, and add this code: XML

      
        "/>  
      
    

    You must insert the correct proxy address for your network in proxyaddress="http://.

提交回复
热议问题