'\" t .\" Title: stg-clone .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 03/13/2012 .\" Manual: StGit Manual .\" Source: StGit .\" Language: English .\" .TH "STG\-CLONE" "1" "03/13/2012" "StGit" "StGit Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" stg-clone \- Make a local clone of a remote repository .SH "SYNOPSIS" .sp .nf \fIstg\fR clone .fi .SH "DESCRIPTION" Clone a git repository into the local directory (using linkstg:clone[]) and initialise the local branch "master"\&. This operation is for example suitable to start working using the "tracking branch" workflow (see \m[blue]\fB1\fR\m[]\&\s-2\u[1]\d\s+2)\&. Other means to setup an StGit stack are linkstg:init[] and the \fI\-\-create\fR and \fI\-\-clone\fR commands of linkstg:branch[]\&. The target directory will be created by this command, and must not already exist\&. .SH "STGIT" Part of the StGit suite \- see linkman:stg[1] .SH "NOTES" .IP " 1." 4 1 .RS 4 \%[set $man.base.url.for.relative.links]/stg .RE