stg-clone(1)

stg-clone1

Make a local clone of a remote repository

Usage

stg clone <repository> <dir>

Overview

Clone a git repository into the local directory <dir> (using stg-clone(1)) and initialise the local branch "master".

This operation is for example suitable to start working using the "tracking branch" workflow (see 1[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 <dir> will be created by this command, and must not already exist.

Stgit

Part of the StGit suite - see stg(1)

Notes

1.

1

[set $man.base.url.for.relative.links]/stg

Releases

6 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8–9
  5. 10

From stgit 0.18-1 in Debian 10 (Buster). Parsed by carta from the page's man source.