From 67f482e4816e658ab557457b09b213c5d523bbb5 Mon Sep 17 00:00:00 2001 From: "alex@20f891a76542a3d12976c3bfef5d4b5b47070a6a" Date: Thu, 29 Jun 2017 07:04:58 +0000 Subject: [PATCH] --- ...reate_lightweight_checkouts_on_the_same_filesystem.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/forum/Create_lightweight_checkouts_on_the_same_filesystem.mdwn diff --git a/doc/forum/Create_lightweight_checkouts_on_the_same_filesystem.mdwn b/doc/forum/Create_lightweight_checkouts_on_the_same_filesystem.mdwn new file mode 100644 index 0000000000..162185fece --- /dev/null +++ b/doc/forum/Create_lightweight_checkouts_on_the_same_filesystem.mdwn @@ -0,0 +1,7 @@ +I'm sorry if this has been answered before, I did my best searching and couldn't find a fitting solution. + +I envision the following setup. There is one central git-annex repository where all modifications are to be performed. At the same time, I want to create lightweight clones of that repository on the same machine, the same filesystem, that would contain all git metadata (so that I can navigate the history inside the child repository), but would reuse binary objects from the parent repository. The child repositories can be read-only, I don't plan to use them for anything else but checking out the specific version of the parent repository. + +I found out about --shared flag and it seemed like it was exactly what I need. However, after cloning the parent repository with --shared, the symlinks in the child repository still pointed to nowhere. After I did `git annex sync --content`, the binary files were copied into the child repository's .git/ directory. + +Is it possible to achieve what I want? Thanks in advance!