How can I debug git/git-shell related problems? – Stack Overflow
Posted by jpluimers on 2020/07/07
Always read the comments (:
Cool tip by Paul Irish (but remember it will dump the binary curl output as well) at [WayBack] How can I debug git/git-shell related problems? – Stack Overflow:
There are a few
GIT_TRACEoptions, beyond the core one. Here’s the über-verbose option:set -x; GIT_TRACE=2 GIT_CURL_VERBOSE=2 GIT_TRACE_PERFORMANCE=2 GIT_TRACE_PACK_ACCESS=2 GIT_TRACE_PACKET=2 GIT_TRACE_PACKFILE=2 GIT_TRACE_SETUP=2 GIT_TRACE_SHALLOW=2 git pull origin master -v -v; set +x
Related: [WayBack] Git – Environment Variables
–jeroen






Leave a comment