Hacker News new | ask | show | jobs
by Bnjoroge 2 days ago
Why a clone over a worktree? The obvious disadvantage I can see is you dont share your git objects with a clone and for really large repos that becomes an issue
1 comments

Well, actually `git clone --shared` writes an alternates file pointing at your object store and copies zero objects.
til, thanks!