Skip to contents

Creates a repo in the workspace and links it to the remote Git repo specified. Note that repos created programmatically must be linked to a remote Git repo, unlike repos created in the browser.

Usage

create_repo(client, url, provider, path = NULL, sparse_checkout = NULL)

reposCreate(client, url, provider, path = NULL, sparse_checkout = NULL)

Arguments

client

Required. Instance of DatabricksClient()

url

Required. URL of the Git repository to be linked.

provider

Required. Git provider.

path

Desired path for the repo in the workspace.

sparse_checkout

If specified, the repo will be created with sparse checkout enabled.