chiark / gitweb /
Allow picking of one commit id
[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--------
d1d7d28d
YD
12[verse]
13'stg' clone <repository> <dir>
1ce4005c
YD
14
15DESCRIPTION
16-----------
17
18Clone a GIT <repository> into the local <dir> (using
19gitlink:git-clone[1]) and initialise the resulting "master" branch as
20a patch stack.
21
22This operation is for example suitable to start working using the
23"tracking branch" workflow (see gitlink:stg[1]). Other means to setup
36f28f9d
YD
24an StGIT stack are stglink:init[] and the '--create' and '--clone'
25commands of stglink:branch[].
1ce4005c
YD
26
27The target directory named by <dir> will be created by this command,
28and must not exist beforehand.
29
1ce4005c
YD
30StGIT
31-----
32Part of the StGIT suite - see gitlink:stg[1].