Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Bnjoroge
· 4mo ago · 0 comments
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
Comments
[–]
alchaplinsky
4mo ago
Well, actually `git clone --shared` writes an alternates file pointing at your object store and copies zero objects.
[–]
Bnjoroge
OP
4mo ago
til, thanks!