@@ -76,6 +76,86 @@ Defaults to enabled.
76
76
77
77
---
78
78
79
+ ### credential.trace
80
+
81
+ Enables trace logging of all activities.
82
+ Configuring Git and GCM to trace to the same location is often desirable, and
83
+ GCM is compatible and cooperative with ` GIT_TRACE ` .
84
+
85
+ #### Example
86
+
87
+ ``` shell
88
+ git config --global credential.trace /tmp/git.log
89
+ ```
90
+
91
+ If the value of ` credential.trace ` is a full path to a file in an existing
92
+ directory, logs are appended to the file.
93
+
94
+ If the value of ` credential.trace ` is ` true ` or ` 1 ` , logs are written to
95
+ standard error.
96
+
97
+ Defaults to tracing disabled.
98
+
99
+ ** Also see: [ GCM_TRACE] [ gcm-trace ] **
100
+
101
+ ---
102
+
103
+ ### credential.traceSecrets
104
+
105
+ Enables tracing of secret and sensitive information, which is by default masked
106
+ in trace output. Requires that ` credential.trace ` is also enabled.
107
+
108
+ #### Example
109
+
110
+ ``` shell
111
+ git config --global credential.traceSecrets true
112
+ ```
113
+
114
+ If the value of ` credential.traceSecrets ` is ` true ` or ` 1 ` , trace logs will include
115
+ secret information.
116
+
117
+ Defaults to disabled.
118
+
119
+ ** Also see: [ GCM_TRACE_SECRETS] [ gcm-trace-secrets ] **
120
+
121
+ ---
122
+
123
+ ### credential.traceMsAuth
124
+
125
+ Enables inclusion of Microsoft Authentication library (MSAL) logs in GCM trace
126
+ output. Requires that ` credential.trace ` is also enabled.
127
+
128
+ #### Example
129
+
130
+ ``` shell
131
+ git config --global credential.traceMsAuth true
132
+ ```
133
+
134
+ If the value of ` credential.traceMsAuth ` is ` true ` or ` 1 ` , trace logs will
135
+ include verbose MSAL logs.
136
+
137
+ Defaults to disabled.
138
+
139
+ ** Also see: [ GCM_TRACE_MSAUTH] [ gcm-trace-msauth ] **
140
+
141
+ ---
142
+
143
+ ### credential.debug
144
+
145
+ Pauses execution of GCM at launch to wait for a debugger to be attached.
146
+
147
+ #### Example
148
+
149
+ ``` shell
150
+ git config --global credential.debug true
151
+ ```
152
+
153
+ Defaults to disabled.
154
+
155
+ ** Also see: [ GCM_DEBUG] [ gcm-debug ] **
156
+
157
+ ---
158
+
79
159
### credential.provider
80
160
81
161
Define the host provider to use when authenticating.
@@ -682,6 +762,7 @@ git config --global credential.azreposCredentialType oauth
682
762
[ gcm-bitbucket-authmodes ] : environment.md#GCM_BITBUCKET_AUTHMODES
683
763
[ gcm-credential-cache-options ] : environment.md#GCM_CREDENTIAL_CACHE_OPTIONS
684
764
[ gcm-credential-store ] : environment.md#GCM_CREDENTIAL_STORE
765
+ [ gcm-debug ] : environment.md#GCM_DEBUG
685
766
[ gcm-dpapi-store-path ] : environment.md#GCM_DPAPI_STORE_PATH
686
767
[ gcm-github-authmodes ] : environment.md#GCM_GITHUB_AUTHMODES
687
768
[ gcm-gitlab-authmodes ] :environment.md#GCM_GITLAB_AUTHMODES
@@ -693,6 +774,9 @@ git config --global credential.azreposCredentialType oauth
693
774
[ gcm-namespace ] : environment.md#GCM_NAMESPACE
694
775
[ gcm-plaintext-store-path ] : environment.md#GCM_PLAINTEXT_STORE_PATH
695
776
[ gcm-provider ] : environment.md#GCM_PROVIDER
777
+ [ gcm-trace ] : environment.md#GCM_TRACE
778
+ [ gcm-trace-secrets ] : environment.md#GCM_TRACE_SECRETS
779
+ [ gcm-trace-msauth ] : environment.md#GCM_TRACE_MSAUTH
696
780
[ usage ] : usage.md
697
781
[ git-config-http-proxy ] : https://git-scm.com/docs/git-config#Documentation/git-config.txt-httpproxy
698
782
[ http-proxy ] : netconfig.md#http-proxy
0 commit comments