4 ms·
What if the sandbox needs access to the history? Imagine asking for help bisecting something, for example
by gcr 11mo ago
What if the sandbox needs access to the history? Imagine asking for help bisecting something, for example
- deleted 11mo ago[deleted]
- Normal_gaussian 11mo agoThen you'll probably want a clone; which will cost in more space. Just remember to remove the remotes. You could always use an overlayFS with the main (non-worktree) repo as the lowerdir (and then remove the remotes in the overlayFS), but that relies on you not trying to keep working on the git repo at the same time.
- amluto 11mo agoOr if I want the sandbox to be able to create commits, which is extremely useful.
- adastra22 11mo agoMount the parent read-only.