The clone
command provides the ability to clone a remote repository, following which the schemas are loaded from the repository.
This command is useful in scenarios where a repository needs to be cloned in a fresh/empty database, after the initial installation.
The --access-token
option can be used to supply a token for authorization purposes.
The --current-commit
option can be used to specify the commit for code already deployed to the database, without updating the registry to track what version of the code has been deployed (install command handles initializing repositories based on the registry otherwise).