Wt banner
timvw timvw

Wt

Git community

Description

A fast, simple Git worktree helper written in Go

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

wt - Git Worktree Manager

[![CI](https://github.com/timvw/wt/actions/workflows/ci.yml/badge.svg)](https://github.com/timvw/wt/actions/workflows/ci.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/timvw/wt)](https://goreportcard.com/report/github.com/timvw/wt) [![codecov](https://codecov.io/gh/timvw/wt/branch/main/graph/badge.svg)](https://codecov.io/gh/timvw/wt) [![Go Reference](https://pkg.go.dev/badge/github.com/timvw/wt.svg)](https://pkg.go.dev/github.com/timvw/wt) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Release](https://img.shields.io/github/v/release/timvw/wt)](https://github.com/timvw/wt/releases)

A fast, simple Git worktree helper written in Go. Inspired by [haacked/dotfiles/tree-me](https://github.com/haacked/dotfiles/blob/main/bin/tree-me).

![wt quickstart](docs/wt-quickstart.gif)

Features

  • Configurable worktree strategies: global, sibling-repo, parent-branches, and more
  • Clone into organized locationswt clone acquires a repo under repo_root (///), ready to inspect
  • Simple commands for common worktree operations
  • Interactive selection menus with fuzzy matching for checkout, cd, remove, pr, and mr commands
  • GitHub PR support via wt pr command (uses gh CLI) — checks out the PR's actual branch name
  • GitLab MR support via wt mr command (uses glab CLI) — checks out the MR's actual branch name
  • Built-in file copy — declare .env and friends in `[files]` or a committed .worktreeinclude; copied with a reflink on APFS/Btrfs/XFS, so even node_modules costs metadata rather than disk
  • Pre/post command hooks — run custom scripts on create/checkout/remove/clone (e.g. launch AI assistants, share build caches, [assign dev server ports](docs/examples.md#deterministi