stg-clone − stgdesc:clone[]
stg clone <repository> <dir>
Clone a GIT <repository> into the local <dir> (using git1[1]) and initialise the resulting "master" branch as a patch stack.
This operation is for example suitable to start working using the "tracking branch" workflow (see git1[2]). Other means to setup an StGIT stack are stginit and the −−create and −−clone commands of stgbranch.
The target directory named by <dir> will be created by this command, and must not exist beforehand.
Part of the StGIT suite − see git1[2].
1. |
1 |
git-clone
2. |
1 |
stg