Commit | Line | Data |
---|---|---|
1ce4005c YD |
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 | -------- | |
d1d7d28d YD |
12 | [verse] |
13 | 'stg' clone <repository> <dir> | |
1ce4005c YD |
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 | |
36f28f9d YD |
24 | an StGIT stack are stglink:init[] and the '--create' and '--clone' |
25 | commands of stglink:branch[]. | |
1ce4005c YD |
26 | |
27 | The target directory named by <dir> will be created by this command, | |
28 | and must not exist beforehand. | |
29 | ||
1ce4005c YD |
30 | StGIT |
31 | ----- | |
32 | Part of the StGIT suite - see gitlink:stg[1]. |