summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar alex@20f891a76542a3d12976c3bfef5d4b5b47070a6a <alex@web>2017-06-29 07:04:58 +0000
committerGravatar admin <admin@branchable.com>2017-06-29 07:04:58 +0000
commit0c50740ec4d11c17ba01b80a0c5f0126a45dd6e8 (patch)
treed7e5a86091724a195fe00b2f78eb49bc9983f459 /doc
parente5e5c5e7037984fa2bcee311794a073aced82747 (diff)
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Create_lightweight_checkouts_on_the_same_filesystem.mdwn7
1 files changed, 7 insertions, 0 deletions
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 000000000..162185fec
--- /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!