summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar tamar.matsuzawa@f52849aed85183d86548fe9658bf02ed250820e6 <tamarmatsuzawa@web>2015-05-29 00:58:46 +0000
committerGravatar admin <admin@branchable.com>2015-05-29 00:58:46 +0000
commit27a4398f76636a80808f02264a4234b0e52ae455 (patch)
tree77cedbaa6b8bce2ebf9f23edc6a136f258751167
parent942da25fa5690c8626f9280f69f76642cf1b8f20 (diff)
-rw-r--r--doc/forum/share_.git__47__annex__47__objects_across_multiple_repositories_on_one_machine.mdwn28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/forum/share_.git__47__annex__47__objects_across_multiple_repositories_on_one_machine.mdwn b/doc/forum/share_.git__47__annex__47__objects_across_multiple_repositories_on_one_machine.mdwn
new file mode 100644
index 000000000..faf8f4d23
--- /dev/null
+++ b/doc/forum/share_.git__47__annex__47__objects_across_multiple_repositories_on_one_machine.mdwn
@@ -0,0 +1,28 @@
+Hello,
+
+git-annex looks very interesting and I would like it to version large binary artifacts for testing in our source code repository.
+
+My question:
+
+I want to have/can have multiple clones of the same repository on the same machine.
+However, as the binary files can be huge, I would like to store the files only exactly ONCE per machine and not again in the .git/annex/objects folder of each similar cloned repository.
+
+To achieve that, I first created in
+
+ /tmp/repo-clone1/.git/annex/objects
+
+and then symlinked
+
+ ln -s /tmp/repo-clone1/.git/annex/objects /tmp/repo-clone2/.git/annex/objects
+
+such that
+
+ /tmp/repo-clone1
+ /tmp/repo-clone2
+
+share the same big files and the big files are only once on the machine.
+
+Is this a good idea? Is there a better way to achieve this? Looks a bit hacky. Would be nicer if you can specify a dedicated "objects" folder from the start?!
+
+Thanks and Regards,
+J