4 ms·
I have, but I just found that a bit tedious to manage manually. Maybe another version of this script would just be to automatically create a worktree, run a pro
by sothatsit 1y ago
I have, but I just found that a bit tedious to manage manually. Maybe another version of this script would just be to automatically create a worktree, run a prompt in that, and then have the script manage the results, and clean up the worktree at the end.
- FlyingAvatar 1y agohttps://github.com/stravu/crystal https://github.com/stravu/crystal This is still alpha, but I have been using it to handle the multi-agent worktree paradigm.
- nojs 1y agoOne thing that I’ve found works well is to permanently have a few numbered branches checked out as worktrees, keep them up to date with main, and then when you want to do a task in parallel you just pick an existing branch rather than creating and deleting worktrees every time. This lets you persist local databases, IDE project settings and so on for each worktree too.