git出错调试

https://stackoverflow.com/questions/6178401/how-can-i-debug-git-git-shell-related-problems

git_trace=1 gcm_trace=1 git push   wsl中不识别小写

GIT_TRACE=1 GCM_TRACE=1 git push

GIT_TRACE=1 GCM_TRACE=1 git fetch origin

 

Git 2.9.x/2.10 (Q3 2016) adds another debug option: GIT_TRACE_CURL.

git_trace=1 gcm_trace=1 git_trace_curl=true git fetch --all

 

三个参数就可以了, git_curl_verbose=1这个参数在能走通的时候,没什么意义。

git_trace=1 gcm_trace=1 git_trace_curl=1 git clone --depth=1 https://github.com/git-for-windows/git.git git1

 

可能设置的变量值以及输出到文件

Possible values can include:

  • true, 1 or 2 to write to stderr,
  • an absolute path starting with / to trace output to the specified file.
posted @ 2018-03-21 13:41  ChuckLu  阅读(1752)  评论(0)    收藏  举报