tho, I also met this problem and found a solution for me - develop all in one worktree on a single branch, then cherry-pick to the second worktree to the needed branch.
So, only first worktree is built:
- less space needed.
- less time spent on build, which is usually caused by switching branches.
- you are not required to merge/rebase of master branch to solve conflicts, which also cause long time rebuilds.
So, only first worktree is built: - less space needed. - less time spent on build, which is usually caused by switching branches. - you are not required to merge/rebase of master branch to solve conflicts, which also cause long time rebuilds.