chiark / gitweb /
Add doc for 'branch'.
[stgit] / Documentation / stg-clone.txt
CommitLineData
1ce4005c
YD
1stg-clone(1)
2==========
3Yann Dirson <ydirson@altern.org>
4v0.12.1, April 2007
5
6NAME
7----
8stg-clone - stgdesc:clone[]
9
10SYNOPSIS
11--------
12stg clone [OPTIONS] <repository> <dir>
13
14DESCRIPTION
15-----------
16
17Clone a GIT <repository> into the local <dir> (using
18gitlink:git-clone[1]) and initialise the resulting "master" branch as
19a patch stack.
20
21This operation is for example suitable to start working using the
22"tracking branch" workflow (see gitlink:stg[1]). Other means to setup
23an StGIT stack are stgdesc:init[] and the '--create' and '--clone'
24commands of stgdesc:branch[].
25
26The target directory named by <dir> will be created by this command,
27and must not exist beforehand.
28
29OPTIONS
30-------
31
32No specific options.
33
34StGIT
35-----
36Part of the StGIT suite - see gitlink:stg[1].