Skip to main content
GWTree provides a comprehensive set of commands for managing git worktrees. All commands can be invoked using the gwt binary.

Quick Reference

Create

Create new git worktree(s)

List

List all worktrees for current repo

Remove

Remove worktrees interactively

Status

Show status of all worktrees

Clean

Remove merged worktrees

Merge

Merge worktree branch to main

Config

Manage configuration

Flags

Global flags and options

Command List

Core Commands

Utility Commands

Global Flags

These flags work with the default gwt command (create): For the clean command: See Flags for detailed information.

Getting Started

The most common workflow:

Version

Current version: 2.0.0