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.
作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(1742)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2016-03-21 Generic Interfaces (C# Programming Guide)
2016-03-21 Changing the Output Path in your Web Applications is a bad idea
2016-03-21 ASP.NET Web Projects
2016-03-21 How to: Specify the Web Server for Web Projects in Visual Studio
2016-03-21 Web Application Projects versus Web Site Projects in Visual Studio
2016-03-21 Web Tab, Project Properties
2016-03-21 How to: Set Properties of Web Application Projects
点击右上角即可分享
微信分享提示