Back to directory

gwq - Git Worktree Manager

A CLI for creating, switching between and deleting Git worktrees through a fuzzy-finder interface, aimed in part at running several AI coding agents on different branches of the same repository in parallel.

gwq - Git Worktree Manager

gwq gives intuitive worktree operations the way ghq manages repository clones: gwq add -b creates a worktree on a new branch, gwq list and gwq status show all worktrees and their state, and gwq get resolves a worktree's path for cd. Because each worktree has its own isolated working directory, multiple AI coding agents, or a person reviewing code while developing a new feature, can work without merge conflicts.

gwq status --watch monitors all worktrees' activity in real time, and gwq exec runs a command inside a named worktree. It installs through Homebrew, go install, or by building from source, and integrates with tmux to run and manage long-running processes in a persistent session per worktree.

More in CLI tools

See all 181
  • grev

    github.com

    A set of Unix coreutils-style filters — grep, sort, cut and more — that answer a plain-language question about each record instead of matching a pattern, using a small decision model.

  • A Node.js script that exports a Google Doc to HTML and CSS with high fidelity, preserving headings, spacing, alignment, bullet lists, images and right-to-left text.

  • gpusched

    github.com

    A VRAM-aware GPU job scheduler for a single machine: declare how much memory each shell command needs, and it places jobs the moment a GPU has room and reports when a guess was wrong.