'\" t
.\" Title: stg-clone
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1
.\" Date: 03/26/2014
.\" Manual: StGit Manual
.\" Source: StGit
.\" Language: English
.\"
.TH "STG\-CLONE" "1" "03/26/2014" "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 \fBstg-clone\fR(1)) 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 \fBstg-init\fR(1) and the \fI\-\-create\fR and \fI\-\-clone\fR commands of \fBstg-branch\fR(1)\&.
The target directory will be created by this command, and must not already exist\&.
.SH "STGIT"
Part of the StGit suite \- see \fBstg\fR(1)
.SH "NOTES"
.IP " 1." 4
1
.RS 4
\%[set $man.base.url.for.relative.links]/stg
.RE