Documentation

Git Treeline is a CLI that provisions isolated dev environments for every git worktree. You declare what each branch needs in a single YAML file, and GTL handles ports, databases, routing, env vars, and lifecycle hooks.

.treeline.yml
commands:
  start: bin/dev
  setup: bin/setup

database:
  adapter: postgresql
  template: myapp_development

That config gives every worktree its own port, database, HTTPS URL, and supervised dev server. The guides below explain each subsystem in detail. Start here if you're new:

Get started

Reference

Installation, configuration schema, CLI commands, and common fixes.

Guides

Deep dives into how each part of the system works.