wt-list
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese/wt:list - List All Worktrees
/wt:list - 列出所有Worktree
Description
描述
Quick command to show all active git worktrees in your repository.
用于展示你代码仓库中所有活跃git worktree的快捷命令。
Usage
使用方式
/wt:list/wt:listWhat It Does
功能说明
This slash command:
- Activates the Git Worktree Manager skill ()
@git-worktree - Automatically runs the command
*list - Shows all active worktrees with their status
这个斜杠命令:
- 激活Git Worktree Manager技能()
@git-worktree - 自动运行命令
*list - 展示所有活跃worktree及其状态
Output
输出内容
The command will display:
- Worktree path - Full path to each worktree
- Branch name - The branch checked out in that worktree
- Commit - Current commit hash
- Status - Clean, modified, or other git status
命令将展示:
- Worktree路径 - 每个worktree的完整路径
- 分支名 - 该worktree中检出的分支
- Commit - 当前提交哈希值
- 状态 - 干净、已修改或其他git状态
Benefits
优势
✅ Quick Overview - See all worktrees at a glance
✅ Status Check - Know which worktrees have uncommitted changes
✅ Easy Navigation - See paths to switch to
✅ 快速概览 - 一眼查看所有worktree
✅ 状态检查 - 了解哪些worktree有未提交的变更
✅ 便于导航 - 可查看用于切换的路径