Hacker News new | ask | show | jobs
by fphilipe 15 days ago
At that point you might as well use a worktree[1].

[1]: https://git-scm.com/docs/git-worktree

2 comments

You can't use a worktree without write access to the shared object database. You can use worktrees, or you can containerize your agents, but you can't do both.
Doesn't work. You need to mount both the worktree and the repo which defeats the point