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