Git through a Proxy. What is causing the 407 error when cloning?

后端 未结 11 2146
长发绾君心
长发绾君心 2020-12-08 16:20

I\'m trying to use Git through a proxy. I\'ve tried setting parameters \'git config --global\' in a lot of ways but always without success when cloning repositories.

11条回答
  •  伪装坚强ぢ
    2020-12-08 17:00

    You can enable trace logging to get more information about what Git is doing. Following is an example:

    GIT_TRACE=$HOME/trace.log git co master
    

    You must use absolute paths if you want to send output to a file. Otherwise, use true or 1 to send output to standard error; e.g. GIT_TRACE=1.

提交回复
热议问题