On Wed, Mar 10, 2021 at 10:21 AM Zhao Wu <zha...@gmail.com> wrote: > > To whom it may concern, > > Is it possible to put one directory in a repo on a mounted directory? We need > this for several reasons: > 1. sensitive files must be kept on encrypted file system, but to put the > entire repo is too slow; > 2. sometimes we want to test different versions without checking out the > entire repo; > 3. we want to keep large data files in the repo on SSD instead of HDD
No.The "repo" on the server is basically, a database with a list of all the commits referring to the content of the repo, not a filesystem that can be split this way. I think you'll need to split the repo into multiple repos along the lines of the security you want.