$ cat deduplicating-git-worktrees-on-ext4-with-jdupes.md
Deduplicating git worktrees on EXT4 with jdupes
Git worktrees can consume disk space quickly, as one developer found when ten worktrees filled a 28 GB volume within a day. The article explains how to use jdupes to deduplicate identical files across worktrees on an EXT4 filesystem and limit that growth.
ma.ttias.be24 Jul 2026 · 1 min read · summary
Read on ma.ttias.be ↗A git worktree workflow eats a lot more disk than you’d expect. On the remote box I run my coding agents on
, ten worktrees took a 28 GB volume down to 687 MB free in about a day. Here’s one way to limit that.
source
This is a summary of an article first published by ma.ttias.be. The full piece is on their site.