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