Home > git-documentdb > RemoteRepository > create
RemoteRepository.create() method#
Create a repository on a remote site
Signature:Promise<void>
Remarks#
connection.type must be 'github'
Exceptions#
Err.UndefinedPersonalAccessTokenError
Err.PersonalAccessTokenForAnotherAccountError
Err.CannotConnectRemoteRepositoryError
may include the following errors:
HttpError
Authentication error
Permission error
Other network errors