From 1ce4005c30c89bd3ab2142fe371bc5b50e71c932 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Tue, 10 Apr 2007 22:47:10 +0100 Subject: [PATCH] Add doc for 'clone' and 'init'. Signed-off-by: Yann Dirson --- Documentation/stg-clone.txt | 36 ++++++++++++++++++++++++++++++++++++ Documentation/stg-init.txt | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 Documentation/stg-clone.txt create mode 100644 Documentation/stg-init.txt diff --git a/Documentation/stg-clone.txt b/Documentation/stg-clone.txt new file mode 100644 index 0000000..73c0d92 --- /dev/null +++ b/Documentation/stg-clone.txt @@ -0,0 +1,36 @@ +stg-clone(1) +========== +Yann Dirson +v0.12.1, April 2007 + +NAME +---- +stg-clone - stgdesc:clone[] + +SYNOPSIS +-------- +stg clone [OPTIONS] + +DESCRIPTION +----------- + +Clone a GIT into the local (using +gitlink: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 gitlink:stg[1]). Other means to setup +an StGIT stack are stgdesc:init[] and the '--create' and '--clone' +commands of stgdesc:branch[]. + +The target directory named by will be created by this command, +and must not exist beforehand. + +OPTIONS +------- + +No specific options. + +StGIT +----- +Part of the StGIT suite - see gitlink:stg[1]. diff --git a/Documentation/stg-init.txt b/Documentation/stg-init.txt new file mode 100644 index 0000000..33fd387 --- /dev/null +++ b/Documentation/stg-init.txt @@ -0,0 +1,33 @@ +stg-init(1) +========== +Yann Dirson +v0.12.1, April 2007 + +NAME +---- +stg-init - stgdesc:init[] + +SYNOPSIS +-------- +stg init [OPTIONS] + +DESCRIPTION +----------- + +Initialise the current GIT branch to be used as an StGIT stack. You +must already be in a GIT repository and .git/HEAD must point to a +valid file in refs/heads/. + +This operation is for example suitable to start working using the +"development branch" workflow (see gitlink:stg[1]). Other means to setup +an StGIT stack are stgdesc:clone[] and the '--create' and '--clone' +commands of stgdesc:branch[]. + +OPTIONS +------- + +No specific options. + +StGIT +----- +Part of the StGIT suite - see gitlink:stg[1]. -- 2.11.0