Set proxy for Microsoft Git Provider in Visual Studio

前端 未结 4 2262
有刺的猬
有刺的猬 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 09:58

    If it helps someone, VS 2017 has a folder:

    %ProgramFiles%\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\etc
    

    with a file named gitconfig - the same as the file in C:\Users\[UserName]\.gitconfig - where you can set the proxy configuration for VS.

提交回复
热议问题