Skip to contents

Updates the repo to a different branch or tag, or updates the repo to the latest commit on the same branch.

Usage

update_repo(client, repo_id, branch = NULL, sparse_checkout = NULL, tag = NULL)

reposUpdate(client, repo_id, branch = NULL, sparse_checkout = NULL, tag = NULL)

Arguments

client

Required. Instance of DatabricksClient()

repo_id

Required. The ID for the corresponding repo to access.

branch

Branch that the local version of the repo is checked out to.

sparse_checkout

If specified, update the sparse checkout settings.

tag

Tag that the local version of the repo is checked out to.