summaryrefslogtreecommitdiff
path: root/Documentation/git.txt
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-03 15:15:03 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-03 15:15:03 +0900
commit614a0a207999f413206bf547e3c603ac015554b0 (patch)
tree3fd19c10cd668b7e8d10a2ba3acf3ee42d5078ab /Documentation/git.txt
parentc4b6a289fe358abffd0b1ce1897b9fcc08a74271 (diff)
downloadgit-614a0a207999f413206bf547e3c603ac015554b0.tar.gz
git-614a0a207999f413206bf547e3c603ac015554b0.tar.bz2
git-614a0a207999f413206bf547e3c603ac015554b0.zip
Imported Upstream version 2.3.10upstream/2.3.10
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r--Documentation/git.txt30
1 files changed, 29 insertions, 1 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index a62ed6f1..c06b9239 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -43,9 +43,10 @@ unreleased) version of Git, that is available from the 'master'
branch of the `git.git` repository.
Documentation for older releases are available here:
-* link:v2.3.9/git.html[documentation for release 2.3.9]
+* link:v2.3.10/git.html[documentation for release 2.3.10]
* release notes for
+ link:RelNotes/2.3.10.txt[2.3.10],
link:RelNotes/2.3.9.txt[2.3.9],
link:RelNotes/2.3.8.txt[2.3.8],
link:RelNotes/2.3.7.txt[2.3.7],
@@ -1045,6 +1046,33 @@ GIT_ICASE_PATHSPECS::
an operation has touched every ref (e.g., because you are
cloning a repository to make a backup).
+`GIT_ALLOW_PROTOCOL`::
+ If set, provide a colon-separated list of protocols which are
+ allowed to be used with fetch/push/clone. This is useful to
+ restrict recursive submodule initialization from an untrusted
+ repository. Any protocol not mentioned will be disallowed (i.e.,
+ this is a whitelist, not a blacklist). If the variable is not
+ set at all, all protocols are enabled. The protocol names
+ currently used by git are:
+
+ - `file`: any local file-based path (including `file://` URLs,
+ or local paths)
+
+ - `git`: the anonymous git protocol over a direct TCP
+ connection (or proxy, if configured)
+
+ - `ssh`: git over ssh (including `host:path` syntax,
+ `git+ssh://`, etc).
+
+ - `rsync`: git over rsync
+
+ - `http`: git over http, both "smart http" and "dumb http".
+ Note that this does _not_ include `https`; if you want both,
+ you should specify both as `http:https`.
+
+ - any external helpers are named by their protocol (e.g., use
+ `hg` to allow the `git-remote-hg` helper)
+
Discussion[[Discussion]]
------------------------