These options were added in c915f11eb4 ("connect & http: support -4 and -6 switches for remote operations").
Signed-off-by: Jakub Wilk <jwilk@jwilk.net> --- Documentation/git-clone.txt | 8 ++++++++ 1 file changed, 8 insertions(+)
Show changes to Documentation/git-clone.txt +8 −0
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index c37c4a37f7..e6f0329510 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -316,6 +316,14 @@ or `--mirror` is given) The number of submodules fetched at the same time. Defaults to the `submodule.fetchJobs` option. +-4:: +--ipv4:: + Use IPv4 addresses only, ignoring IPv6 addresses. + +-6:: +--ipv6:: + Use IPv6 addresses only, ignoring IPv4 addresses. + <repository>:: The (possibly remote) repository to clone from. See the <<URLS,GIT URLS>> section below for more information on specifying
-- 2.25.1