Getting Started
Install ghostree and start managing your git worktrees with Ghostty.
Prerequisites
- Git 2.15+ (worktree support)
- macOS or Linux
Installation
Install via Homebrew:
brew install sidequery/tap/ghostree
Quick Start
Create a new worktree and open it in Ghostty:
ghostree new feature/my-feature
This creates a git worktree for the feature/my-feature branch and opens a new Ghostty window in that directory.
List Worktrees
See all active worktrees:
ghostree list
Switch Between Worktrees
Jump to an existing worktree:
ghostree switch feature/my-feature
Or use fuzzy search:
ghostree switch
Clean Up
Remove a worktree and its Ghostty window:
ghostree remove feature/my-feature
Clean up all worktrees for merged branches:
ghostree prune