---
name: "git-branchless"
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"
---

# git-branchless(1)

Branchless workflow for Git

## NAME

git-branchless - Branchless workflow for Git

## SYNOPSIS

**git-branchless** \[**-C** \] \[**--color**\] \[**-h**\|**--help**\] \[**-V**\|**--version**\] \<*subcommands*\>

## DESCRIPTION

Branchless workflow for Git.

See the documentation at https://github.com/arxanas/git-branchless/wiki.

## OPTIONS

- **-C** *\<WORKING\_DIRECTORY\>*

  Change to the given directory before executing the rest of the program. (The option is called \`-C\` for symmetry with Git.)

- **--color** *\<COLOR\>*

  Flag to force enable or disable terminal colors\

  *Possible values:*

  - •

    auto: Automatically determine whether to display colors from the terminal and environment variables. This is the default behavior

  - •

    always: Always display terminal colors

  - •

    never: Never display terminal colors

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

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

- **-V**, **--version**

  Print version

## SUBCOMMANDS

- [git-branchless-amend(1)](/git-branchless-amend/1.md)

  Amend the current HEAD commit

- [git-branchless-bug-report(1)](/git-branchless-bug-report/1.md)

  Gather information about recent operations to upload as part of a bug report

- [git-branchless-difftool(1)](/git-branchless-difftool/1.md)

  Use the partial commit selector UI as a Git-compatible difftool; see [git-difftool(1)](/git-difftool/1.md) for more information on Git difftools

- [git-branchless-gc(1)](/git-branchless-gc/1.md)

  Run internal garbage collection

- [git-branchless-hide(1)](/git-branchless-hide/1.md)

  Hide the provided commits from the smartlog

- [git-branchless-init(1)](/git-branchless-init/1.md)

  Initialize the branchless workflow for this repository

- [git-branchless-install-man-pages(1)](/git-branchless-install-man-pages/1.md)

  Install git-branchless's man-pages to the given path

- [git-branchless-move(1)](/git-branchless-move/1.md)

  Move a subtree of commits from one location to another

- [git-branchless-next(1)](/git-branchless-next/1.md)

  Move to a later commit in the current stack

- [git-branchless-prev(1)](/git-branchless-prev/1.md)

  Move to an earlier commit in the current stack

- [git-branchless-query(1)](/git-branchless-query/1.md)

  Query the commit graph using the "revset" language and print matching commits

- [git-branchless-repair(1)](/git-branchless-repair/1.md)

  Restore internal invariants by reconciling the internal operation log with the state of the Git repository

- [git-branchless-restack(1)](/git-branchless-restack/1.md)

  Fix up commits abandoned by a previous rewrite operation

- [git-branchless-record(1)](/git-branchless-record/1.md)

  Create a commit by interactively selecting which changes to include

- [git-branchless-reword(1)](/git-branchless-reword/1.md)

  Reword commits

- [git-branchless-smartlog(1)](/git-branchless-smartlog/1.md)

  \`smartlog\` command

- [git-branchless-split(1)](/git-branchless-split/1.md)

  Split commits

- [git-branchless-submit(1)](/git-branchless-submit/1.md)

  Push commits to a remote

- [git-branchless-switch(1)](/git-branchless-switch/1.md)

  Switch to the provided branch or commit

- [git-branchless-sync(1)](/git-branchless-sync/1.md)

  Move any local commit stacks on top of the main branch

- [git-branchless-test(1)](/git-branchless-test/1.md)

  Run a command on each commit in a given set and aggregate the results

- [git-branchless-undo(1)](/git-branchless-undo/1.md)

  Browse or return to a previous state of the repository

- [git-branchless-unhide(1)](/git-branchless-unhide/1.md)

  Unhide previously-hidden commits from the smartlog

- [git-branchless-wrap(1)](/git-branchless-wrap/1.md)

  Wrap a Git command inside a branchless transaction

- git-branchless-help(1)

  Print this message or the help of the given subcommand(s)

## VERSION

v0.11.1

## AUTHORS

Waleed Khan \<me@waleedkhan.name\>
