3 ms·
I'm similar, though I have a helper script to quickly jump into a worktree for a branch, and then asks me to delete it when I leave. The main repo is for work,
by kreetx 2y ago
I'm similar, though I have a helper script to quickly jump into a worktree for a branch, and then asks me to delete it when I leave. The main repo is for work, and the semi-temporary ones are review, remote, or whatever else I need.
The advantage of worktrees is to have only a single .git, instead of cloning it for every purpose, and also needing to update those separately.