mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:08:32 +02:00
1.0 KiB
1.0 KiB
name, description
| name | description |
|---|---|
| worktree-management | Manage Yaak git worktrees using the standard ../yaak-worktrees/<NAME> layout, including creation, removal, and expected automatic setup behavior and port assignments. |
Worktree Management
Use the Yaak-standard worktree path layout and lifecycle commands.
Path Convention
Always create worktrees under:
../yaak-worktrees/<NAME>
Examples:
git worktree add ../yaak-worktrees/feature-authgit worktree add ../yaak-worktrees/bugfix-logingit worktree add ../yaak-worktrees/refactor-api
Automatic Setup After Checkout
Project git hooks automatically:
- Create
.env.localwith uniqueYAAK_DEV_PORTandYAAK_PLUGIN_MCP_SERVER_PORT - Copy gitignored editor config folders
- Run
npm install && npm run bootstrap
Remove Worktree
git worktree remove ../yaak-worktrees/<NAME>
Port Pattern
- Main worktree: Vite
1420, MCP64343 - First extra worktree:
1421,64344 - Second extra worktree:
1422,64345 - Continue incrementally for additional worktrees