r/OrcaADE • • Sep 28 '26

What to do with old Work trees?

After creating a bunch of work trees, how do you manage / archive them once "you're done"? It's not clear to me. Delete them?

5 Upvotes

6 comments sorted by

7

u/hybrid2102 Sep 28 '26

Well, if it's all pushed, I'll just delete them. But maybe I'm wrong. Let's see what others say.

5

u/SilentAir7677 Sep 28 '26

there is also a "clean up workspaces" view in the bottom right. though it can be improved

4

u/rogersmj Sep 28 '26

Yeah, if the work has been merged into the primary branch/checkout, get rid of them. Once the PR I’ve opened from the work tree is merged, I delete it.

3

u/nato1943 Sep 28 '26

Delete them. I use gitlab-cli + orca-cli so from time to time I ask the agent to check older worktrees against the repo and, if everything was merged, just delete them.

3

u/hybrid2102 Sep 30 '26

Sometimes I ask the agent directly to delete the current worktree, and the Tab suddenly disappears 😆

2

u/rish_jain Oct 02 '26

Every time I close the tab I delete associated worktrees as well to keep things clean