forum/Big repository vs. multiple smallgit-annexhttp://git-annex.branchable.com/forum/Big_repository_vs._multiple_small/git-annexikiwiki2014-04-19T05:38:43Zcomment 1http://git-annex.branchable.com/forum/Big_repository_vs._multiple_small/comment_1_8e21ee3c674ef6e595bdab53dd5c2356/Hamza2014-04-14T15:32:35Z2014-04-14T15:32:34Z
In my setup I have one repository for each category (photos documents videos) it is faster then single giant repository plus it makes sharing with other people easier since you can let people clone one category at a time.
comment 2http://git-annex.branchable.com/forum/Big_repository_vs._multiple_small/comment_2_656c62351502492d20e8490242e51169/divB2014-04-15T18:23:13Z2014-04-15T18:23:13Z
<p>Thank you, that's a good point!</p>
<p>Does this also mean that a repository in git(-annex) is "all or nothing"?</p>
<p>For example, I cannot share/clone parts of it? Or define access rights within a repository?</p>
<p>With SVN for example, I have a big repository "university" and it contains all stuff of projects/research. Each individual directory is only shared with the persons whom I worked together in this particular project. In short: In git, this should not be that way, right?</p>
comment 3http://git-annex.branchable.com/forum/Big_repository_vs._multiple_small/comment_3_e9c44ea364513f090844f46af2ea46a1/Claes2014-04-17T14:04:32Z2014-04-17T14:04:31Z
Yeah, git does not have the concept of checking out subdirectories that subversion does. You could, however, have different branches with different content that live in the same repo and therefore share the same git-annex backend, so there could be overlap between what files are in what branch without them using up much extra disk space.
comment 4http://git-annex.branchable.com/forum/Big_repository_vs._multiple_small/comment_4_82e13580426dc648688e4c26e7ed91ec/Hamza2014-04-18T09:16:44Z2014-04-18T09:16:44Z
with git you can not checkout parts of a repo it is all or nothing but with annex you can download your files dir by dir. When you clone you get symlinks for all files but only the files you want are downloaded.
comment 5http://git-annex.branchable.com/forum/Big_repository_vs._multiple_small/comment_5_632aceb71dc6a4a9a4bb03de25a9b21a/divB2014-04-19T05:38:43Z2014-04-19T05:38:43Z
<p>Thanks!</p>
<p>But what to my question regarding checking out a repository within a repository?</p>
<p>I will most likely have a "home" repository which I would check out at first level.</p>
<p>Then, within one directory I would like to (only locally!) check out another, such as "Library".</p>
<p>Something like mount ... to mount one FS within another mount point.</p>
<p>For SVN I think there exist externals for that ...</p>
<p>Does this work?</p>