{"id":43647724,"url":"https://github.com/trungung/wt","last_synced_at":"2026-02-04T19:02:52.037Z","repository":{"id":331682243,"uuid":"1128658988","full_name":"trungung/wt","owner":"trungung","description":"Opinionated Go CLI for branch-first git worktree management—create, exec, and safely prune isolated environments with automation-friendly defaults.","archived":false,"fork":false,"pushed_at":"2026-01-10T18:52:18.000Z","size":2166,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T05:35:39.963Z","etag":null,"topics":["cli","git","git-worktree","go","golang","multi-agent","productivity"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trungung.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-06T01:07:51.000Z","updated_at":"2026-01-10T18:52:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/trungung/wt","commit_stats":null,"previous_names":["trungung/wt"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/trungung/wt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trungung%2Fwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trungung%2Fwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trungung%2Fwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trungung%2Fwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trungung","download_url":"https://codeload.github.com/trungung/wt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trungung%2Fwt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29092990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","git","git-worktree","go","golang","multi-agent","productivity"],"created_at":"2026-02-04T19:02:51.959Z","updated_at":"2026-02-04T19:02:52.029Z","avatar_url":"https://github.com/trungung.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wt\n\n**An opinionated git worktree manager**\n\n`wt` manages git worktrees using branch names instead of paths. Create worktrees,\nrun commands in isolated environments, and clean up safely.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![Go Version](https://img.shields.io/badge/Go-1.25+-00ADD8E.svg)](https://golang.org)\n[![Platform](https://img.shields.io/badge/platform-darwin%20%7C%20Linux-lightgrey.svg)](https://github.com/trungung/wt/releases)\n\n---\n\n## What is wt?\n\n`wt` is a CLI for git worktree management. Use branch names to create worktrees,\nexecute commands in them, and remove them when done.\n\nBuilt for multi-branch workflows and AI-assisted development.\n\n## Why use `wt`?\n\n- **Multi-branch workflows:** Run commands in multiple worktrees from your main terminal\n- **Safe cleanup:** Won't delete worktrees with uncommitted changes\n- **Automatic setup:** New branches copy config files and run setup commands\n- **Multi-agent support:** AI agents work in isolated environments while you stay in your main repo\n\nSee [Multi-Agent Workflows](docs/user/guides/multi-agent-workflow.md) for details.\n\n## Quick Start\n\n### 1. Install\n\n**Recommended** - Install via Homebrew (handles PATH + completions):\n\n```bash\nbrew tap trungung/wt\nbrew install wt\n```\n\nHomebrew installs completion files automatically, but you still need `eval \"$(wt shell-setup)\"` to enable the `wt cd` wrapper.\n\n**Alternative** - Install via Go:\n\n```bash\ngo install github.com/trungung/wt/cmd/wt@latest\n```\n\nFor binary downloads (macOS/Linux), see [GitHub Releases](https://github.com/trungung/wt/releases).\n\nIf installing via Go or binary, add `wt` to your PATH (see quick PATH snippet in the Quickstart) and follow [Shell Setup](docs/user/guides/quickstart.md#shell-setup-completions--navigation) to enable completions and `wt cd`.\n\n### 2. Initialize\n\nRun this in your main repository to create the local configuration file `.wt.config.json`:\n\n```bash\nwt init\n```\n\n### 3. Use Worktrees\n\nCreate a worktree for a new branch, execute commands inside it, and remove it when done:\n\n| Command                               | Action                                         |\n| :------------------------------------ | :--------------------------------------------- |\n| `wt feature/payment`                        | Create worktree at `./repo.wt/feature-payment` |\n| `(cd \"$(wt feature/payment)\" \u0026\u0026 npm test)` | Run command in the worktree directory          |\n| `wt prune`                                  | Automatically remove merged worktrees          |\n\n### 4. Easy Navigation (Recommended)\n\nSet up seamless navigation to worktrees:\n\n```bash\n# One-time setup\neval \"$(wt shell-setup)\"\n\n# Now navigate easily\nwt cd feature/new-auth    # Creates worktree if needed and changes directory\n```\n\nThe `wt cd` command creates the worktree (if needed) and changes your shell's working directory to it. Supported shells: zsh, bash, fish.\n\nFor comprehensive setup and examples, see the [Quickstart Guide](docs/user/guides/quickstart.md).\n\n---\n\n## Documentation\n\n- **[Quickstart Guide](docs/user/guides/quickstart.md)** – Installation, setup, and examples\n- **[Multi-Agent Workflows](docs/user/guides/multi-agent-workflow.md)** – Parallel development and AI agent workflows\n- **[API Reference](docs/user/api-references/index.md)** – Detailed command documentation\n- **[Configuration Reference](docs/user/api-references/configuration.md)** – All configuration options explained\n\n## Contributing\n\nContributions are welcome! Please see the [developer documentation](docs/developer/) for guidelines.\n\n## License\n\n`wt` is released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrungung%2Fwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrungung%2Fwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrungung%2Fwt/lists"}