---
name: "stg-init"
section: "1"
platform: "linux"
package: "stgit"
version: "0.18-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/stg-init"
---

# stg-init(1)

Initialise the current branch for use with StGIT

## NAME

stg-init - Initialise the current branch for use with StGIT

## SYNOPSIS

```
stg init
```

## DESCRIPTION

Initialise the current git branch to be used as an StGIT stack. The branch (and the git repository it is in) must already exist and contain at least one commit.

## STGIT

Part of the StGit suite - see [**stg**(1)](/stg/1.md)
