diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-06-13 16:43:49 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-06-13 16:43:49 -0700 |
commit | e37d45876db66f5ab72436a23c4af28aa23e5d91 (patch) | |
tree | 679c1d239b8376f8fc0afce44b8de67e795f38d4 /git-config.html | |
parent | 7d636aa79e0ae64b741f1951ce6dd46787b94174 (diff) | |
download | git-htmldocs-e37d45876db66f5ab72436a23c4af28aa23e5d91.tar.gz |
Autogenerated HTML docs for v2.37.0-rc0
Diffstat (limited to 'git-config.html')
-rw-r--r-- | git-config.html | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/git-config.html b/git-config.html index c1a39a66b..870d3e54e 100644 --- a/git-config.html +++ b/git-config.html @@ -1168,7 +1168,7 @@ available files.</p></div> <p>
Similar to <code>--show-origin</code> in that it augments the output of
all queried config options with the scope of that value
- (local, global, system, command).
+ (worktree, local, global, system, command).
</p>
</dd>
<dt class="hdlist1">
@@ -5435,6 +5435,38 @@ fetch.writeCommitGraph </p>
</dd>
<dt class="hdlist1">
+fetch.credentialsInUrl
+</dt>
+<dd>
+<p>
+ A URL can contain plaintext credentials in the form
+ <code><protocol>://<user>:<password>@<domain>/<path></code>. Using such URLs
+ is not recommended as it exposes the password in multiple ways,
+ including Git storing the URL as plaintext in the repository config.
+ The <code>fetch.credentialsInUrl</code> option provides instruction for how Git
+ should react to seeing such a URL, with these values:
+</p>
+<div class="ulist"><ul>
+<li>
+<p>
+<code>allow</code> (default): Git will proceed with its activity without warning.
+</p>
+</li>
+<li>
+<p>
+<code>warn</code>: Git will write a warning message to <code>stderr</code> when parsing a URL
+ with a plaintext credential.
+</p>
+</li>
+<li>
+<p>
+<code>die</code>: Git will write a failure message to <code>stderr</code> when parsing a URL
+ with a plaintext credential.
+</p>
+</li>
+</ul></div>
+</dd>
+<dt class="hdlist1">
format.attach
</dt>
<dd>
@@ -11123,7 +11155,7 @@ looks like</p></div> <div id="footer">
<div id="footer-text">
Last updated
- 2022-02-25 16:19:34 PST
+ 2022-06-13 16:41:53 PDT
</div>
</div>
</body>
|