git clone [--template=<template_directory>]
[-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]
[-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]
[--separate-git-dir <git dir>]
[--depth <depth>] [--recursive|--recurse-submodules] [--] <repository>
[<directory>]
<repository>
The (possibly remote) repository to clone from. See the URLS section below for more information on
specifying repositories.
<directory>
The name of a new directory to clone into. The "humanish" part of the source repository is used if no
directory is explicitly given (repo for /path/to/repo.git and foo for host.xz:foo/.git). Cloning into
an existing directory is only allowed if the directory is empty.
|