to use another project in your repository[^1]. This is a handy way to separate
content and apply different access rights. For example, if you want to create a
hidden area for a [treasure](/music/inconvenient-ep/influenca/#treasure) hunt
like me. I use a private repo from within my main Website repo. If you view the
[sources of the Influenca page](https://dri.ven.uber.space/thisven/Website/src/branch/main/content/music/inconvenient-ep/influenca)
in this repo and want to access the folder `hidden @ <hash>`, you'll get a 404
page as this is a link to the private repo. Only authenticated users can access
it.
## Enabling auto-update
To automatically update submodules on `git clone` and `git pull` I enable [submodule.rescurse](https://git-scm.com/docs/git-config#Documentation/git-config.txt-submodulerecurse):
```bash
git config submodule.recurse true
```
## Adding into main
The command to add a submodule expects the destination of the other project and
a relative path inside the main repository. For example, to add the repo
`https://codeberg.org/thisven/private` as submodule into `content/blog/hidden`