SYNOPSIS

stg clone <repository> <dir>

DESCRIPTION

Clone a GIT <repository> into the local <dir> (using git-clone(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 stg(1)). Other means to setup an StGIT stack are stg init(1) and the --create and --clone commands of stg branch(1).

The target directory named by <dir> will be created by this command, and must not exist beforehand.

StGIT

Part of the StGIT suite - see stg(1).