Set proxy for Microsoft Git Provider in Visual Studio

前端 未结 4 2263
有刺的猬
有刺的猬 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:00

    Another approach would be to go to your user folder c:\users\ (in my case c:\users\danielj) and create a file called .gitconfig.

    paste the following:

    [user]
        name = 
    [user]
        email = 
    [http]
        sslVerify = false
        proxy = "http://%40:#@:"
    [https]
        sslVerify = false
    

提交回复
热议问题