Skip to content

Instantly share code, notes, and snippets.

@6220119
Created May 11, 2020 03:06
Show Gist options
  • Save 6220119/fabb042896d90a42820bad37d14099f4 to your computer and use it in GitHub Desktop.
Save 6220119/fabb042896d90a42820bad37d14099f4 to your computer and use it in GitHub Desktop.
Debug git cmd
GIT_TRACE=1 GIT_TRACE_PERFORMANCE=1 GIT_CURL_VERBOSE=1 GIT_SSH_COMMAND="ssh -vvv" [your git cmd]
# example
# GIT_TRACE=1 GIT_TRACE_PERFORMANCE=1 GIT_CURL_VERBOSE=1 GIT_SSH_COMMAND="ssh -vvv" git push --set-upstream origin migrate-gitlab-config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment