Actions
Git Debugging¶
- Table of contents
- Git Debugging
see also #6383
debugging ssh connectivity problems¶
The following stack overflow discussions cover means of debugging ssh connectivity problems:
- http://stackoverflow.com/questions/27422936/git-push-with-ssh-remote-fails-unless-verbose
- http://stackoverflow.com/questions/25388499/how-can-i-run-git-push-pull-commands-with-ssh-verbose-mode/25390120#25390120
- http://stackoverflow.com/questions/6178401/how-can-i-debug-git-git-shell-related-problems#17344517+
There are various https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables#Debugging, using the following should be sufficient for the most situations:
export GIT_SSH_COMMAND="ssh -v" export GIT_TRACE=2 export GIT_TRACE_PACKET=true
For using GIT_SSH_COMMAND under windows sees http://stackoverflow.com/questions/31475646/using-git-ssh-command-in-git-for-windows
Updated by Andreas Müller almost 2 years ago · 3 revisions