Comment by dools
21 hours ago
I use this bash script that creates tmux windows and panes in a worktree and then undoes the process:
https://gist.github.com/iaindooley/cc8a61a1ff0fe23526c850906...
You include a script .worktree in your repo that does any copying or symlinking to setup the target directory.
It also has a headless mode so that it does the worktree operations without the tmux which I use for executing pi -p prompts in worktrees.
No comments yet
Contribute on Hacker News ↗