Commit 41884a8b authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'docs-git-commands-debug-trace-envvar' into 'master'

Link Git debug trace vars in git debug docs

See merge request gitlab-org/gitlab!20808
parents 10c7303e dc707a87
...@@ -167,6 +167,14 @@ With HTTPS: ...@@ -167,6 +167,14 @@ With HTTPS:
GIT_TRACE_PACKET=1 GIT_TRACE=2 GIT_CURL_VERBOSE=1 git clone <url> GIT_TRACE_PACKET=1 GIT_TRACE=2 GIT_CURL_VERBOSE=1 git clone <url>
``` ```
### Debugging with Git embedded traces
Git includes a complete set of [traces for debugging Git commands](https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables#_debugging), for example:
- `GIT_TRACE_PERFORMANCE=1`: enables tracing of performance data, showing how long each particular `git` invocation takes.
- `GIT_TRACE_SETUP=1`: enables tracing of what `git` is discovering about the repository and environment it’s interacting with.
- `GIT_TRACE_PACKET=1`: enables packet-level tracing for network operations.
## Rebasing ## Rebasing
### Rebase your branch onto master ### Rebase your branch onto master
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment