4 ms·
What does worktree provide that a fresh local clone doesn't?
by jayd16 6y ago
What does worktree provide that a fresh local clone doesn't?
- fiddlerwoaroof 6y agoReduced disk space usage for large repositories. And a convenient way to manage all your clones
- jayd16 6y agoI guess it reduces duplicating the history? Large files are by far the bulk of what I personally deal with so it don't think there's a real difference for me but I could see it helping.
- fiddlerwoaroof 6y agoYeah, it only stores the objects in the .git directory once.
- MarkSweep 6y agoIf it's a multi-gigabyte repo that you are cloning over a slow VPN, it speeds things up quite a bit.
- e28eta 6y agoMaybe too obvious, but if you’re not pushing everything to the remote, local-only content is available in both worktrees.