In order to clone a repository and all of its submodules I know you can do this:
$ git clone --recursive <url>
You can also clone a repository to a bare repository using this:
$ git clone --bare <url>
I want to recursively clone to bare repositories, so I tried this:
$ git clone --bare --recursive git@github.com:boostorg/boost.git
Which only clones the first repository (none of the submodules).
How can I recursively clone to bare repositories?