troubleshooting
Last updated
Was this helpful?
Last updated
Was this helpful?
[!TIP]
Use the new
GIT_TRACE_CURL
environment variable instead of the deprecatedGIT_CURL_VERBOSE
.
GIT_TRACE
Enable general trace messages
GIT_CURL_VERBOSE
DEPRECATED: Print HTTP headers (similar to curl -v
)
GIT_TRACE_CURL
Print HTTP headers (similar to curl -v
)
GIT_TRACE_CURL_NO_DATA
-
GIT_SSH_COMMAND="ssh -vvv"
Print SSH debug messages (similar to ssh -vvv
)
GIT_TRACE_PACK_ACCESS
Enable trace messages for all accesses to any packs
GIT_TRACE_PACKET
Enable trace messages for all packets coming in or out of a given program
GIT_TRACE_PACKFILE
Enable tracing of packfiles sent or received by a given program
GIT_TRACE_PERFORMANCE
Enable performance related trace messages
GIT_TRACE_SETUP
Enable trace messages printing the .git, working tree and current working directory after Git has completed its setup phase
GIT_TRACE_SHALLOW
Enable trace messages that can help debugging fetching/cloning of shallow repositories
or
or
GIT_TRACE_PACK_ACCESS
GIT_TRACE_PACKET
GIT_TRACE_PERFORMANCE
GIT_TRACE_SETUP
ubuntu
centos/rhel
arch
[!TIP]
error: RPC failed; curl 92 LibreSSL SSL_read: error:02FFF03C:system library:func(4095):Operation timed out
references:
no refs in common and none specified; doing nothing.
error
solution: git push -u origin master
error:
solution:
error:
solution:
error:
solution:
error:
solution:
error:
solution:
error:
solution:
error:
solution:
git diff
extreamly slow[!NOTE|label:references:]
GIT_PS1_SHOWDIRTYSTATE
: 58 milliseconds.
GIT_PS1_SHOWUNTRACKEDFILES
: 106 milliseconds.
GIT_PS1_SHOWSTASHSTATE
: 8.7 milliseconds.
GIT_PS1_SHOWUPSTREAM
: 10.6 milliseconds.
[!NOTE|label:references:]
[!WARN|label:not been fixed yet]
check status
[!NOTE|label:references:]
modify configures
[!NOTE|label:references:]
GIT_PS1
GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWSTASHSTATE=true
GIT_PS1_SHOWUNTRACKEDFILES=true
GIT_PS1_SHOWUPSTREAM="auto"
GIT_PS1_HIDE_IF_PWD_IGNORED=true
GIT_PS1_SHOWCOLORHINTS=true
bash.showDirtyState
more:
[!NOTE|label:references:]
commands
, , , (07 Sep 2016)