{"id":51151345,"url":"https://github.com/guywaldman/wt","last_synced_at":"2026-06-26T06:04:50.659Z","repository":{"id":364098011,"uuid":"1255269622","full_name":"guywaldman/wt","owner":"guywaldman","description":"CLI for sane work with git worktrees","archived":false,"fork":false,"pushed_at":"2026-06-11T15:39:51.000Z","size":99,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-11T17:16:12.270Z","etag":null,"topics":["cli","git"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guywaldman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-31T16:11:17.000Z","updated_at":"2026-06-11T16:09:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/guywaldman/wt","commit_stats":null,"previous_names":["guywaldman/wt"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/guywaldman/wt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guywaldman%2Fwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guywaldman%2Fwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guywaldman%2Fwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guywaldman%2Fwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guywaldman","download_url":"https://codeload.github.com/guywaldman/wt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guywaldman%2Fwt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34805127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-26T02:00:06.560Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"],"created_at":"2026-06-26T06:04:49.378Z","updated_at":"2026-06-26T06:04:50.623Z","avatar_url":"https://github.com/guywaldman.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wt\n\nSmall git worktree helper CLI, focused on ergonomics.\n\n\u003e [!WARNING]\n\u003e\n\u003e This CLI, while lightweight, is not battle-tested.  \n\u003e It should not have any destructive behavior, but be sure to commit or stash changes before using it just in case.\n\n---\n\n## Installation\n\n```sh\n# Homebrew\nbrew install guywaldman/tap/wt\n\n# From source\ncargo install --git https://github.com/guywaldman/wt --locked\n```\n\n## Shell setup\n\n```sh\n# zsh\necho 'eval \"$(wt init zsh)\"' \u003e\u003e ~/.zshrc\n\n# bash\necho 'eval \"$(wt init bash)\"' \u003e\u003e ~/.bashrc\n\n# fish\necho 'wt init fish | source' \u003e\u003e ~/.config/fish/config.fish\n```\n\nThis enables completions and makes `wt switch` change the current shell's cwd.\n\n## Commands\n\nRelative `[path]` arguments are resolved from the worktree root, not the current worktree.\n\n```sh\n# Lists all worktrees as `\u003cbranch\u003e\u003ctab\u003e\u003cpath\u003e`.\nwt list\n\n# Creates a worktree for `branch`. If the branch does not exist, it is created from the current `HEAD`.\nwt add \u003cbranch\u003e [path]\n\n# Switches cwd to `branch`'s worktree. Creates it first if it does not exist.\nwt switch \u003cbranch\u003e [path]\n\n# Copies current changes into `branch`'s worktree. Copies unstaged changes by default; `--staged` copies staged changes and stages them in the target worktree.\nwt fork \u003cbranch\u003e [path] [--staged] [-- \u003cpaths\u003e...]\n\n# Removes the linked worktree for `branch`. Refuses dirty worktrees unless `--force` is passed.\nwt remove [--force] \u003cbranch\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguywaldman%2Fwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguywaldman%2Fwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguywaldman%2Fwt/lists"}