chiark / gitweb /
Infrastructure for current directory handling
[stgit] / Documentation / stg-init.txt
1 stg-init(1)
2 ==========
3 Yann Dirson <ydirson@altern.org>
4 v0.12.1, April 2007
5
6 NAME
7 ----
8 stg-init - stgdesc:init[]
9
10 SYNOPSIS
11 --------
12 [verse]
13 'stg' init
14
15 DESCRIPTION
16 -----------
17
18 Initialise the current GIT branch to be used as an StGIT stack.  You
19 must already be in a GIT repository and .git/HEAD must point to a
20 valid file in refs/heads/.
21
22 This operation is for example suitable to start working using the
23 "development branch" workflow (see gitlink:stg[1]).  Other means to setup
24 an StGIT stack are stglink:clone[] and the '--create' and '--clone'
25 commands of stglink:branch[].
26
27 StGIT
28 -----
29 Part of the StGIT suite - see gitlink:stg[1].