---
name: "git-branchless-init"
section: "1"
platform: "linux"
package: "git-branchless"
version: "0.11.1-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/git-branchless-init"
---

# git-branchless-init(1)

Initialize the branchless workflow for this repository

## NAME

init - Initialize the branchless workflow for this repository

## SYNOPSIS

**init** \[**--uninstall**\] \[**--main-branch**\] \[**-h**\|**--help**\]

## DESCRIPTION

Initialize the branchless workflow for this repository

## OPTIONS

- **--uninstall**

  Uninstall the branchless workflow instead of initializing it

- **--main-branch** *\<MAIN\_BRANCH\_NAME\>*

  Use the provided name as the name of the main branch.

  If not set, it will be auto-detected. If it can't be auto-detected, then you will be prompted to enter a value for the main branch name.

- **-h**, **--help**

  Print help (see a summary with '-h')
