summaryrefslogtreecommitdiff
path: root/Documentation/git-clone.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-11-30 01:52:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-30 01:52:34 (GMT)
commit106e3afa6f2d54ea520f9f156abca34913ae4968 (patch)
tree48b6736355bec098113081c84ccdbe7720efd716 /Documentation/git-clone.txt
parent5eee142c89ee4964c9ea4ae1b2fa8344036a7efb (diff)
parentccdd3da6527ca7d8d731e691b9ff0f9b8657298e (diff)
downloadgit-106e3afa6f2d54ea520f9f156abca34913ae4968.zip
git-106e3afa6f2d54ea520f9f156abca34913ae4968.tar.gz
git-106e3afa6f2d54ea520f9f156abca34913ae4968.tar.bz2
Merge branch 'jl/clone-recurse-sm-synonym'
* jl/clone-recurse-sm-synonym: clone: Add the --recurse-submodules option as alias for --recursive
Diffstat (limited to 'Documentation/git-clone.txt')
-rw-r--r--Documentation/git-clone.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index 2320382..42e7021 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -12,7 +12,8 @@ SYNOPSIS
'git clone' [--template=<template_directory>]
[-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]
[-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]
- [--depth <depth>] [--recursive] [--] <repository> [<directory>]
+ [--depth <depth>] [--recursive|--recurse-submodules] [--] <repository>
+ [<directory>]
DESCRIPTION
-----------
@@ -167,6 +168,7 @@ objects from the source repository into a pack in the cloned repository.
as patches.
--recursive::
+--recurse-submodules::
After the clone is created, initialize all submodules within,
using their default settings. This is equivalent to running
`git submodule update --init --recursive` immediately after