Re: Add a "Flattened Cache" to `git --clone`?
On Thu, May 14, 2020 at 5:05 PM Theodore Y. Ts'o <tytso@mit.edu> wrote:
Show 5 quoted lines
> If the goal is a git local cache, we have this today. I'm not sure
> this is what Caleb was asking for, though:
>
> git clone --bare https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git base
> git clone --reference base https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git ext4
For that sort of use-case, git-worktree may also be a suitable solution.