db_repo_update | R Documentation |
Updates the repo to the given branch or tag.
db_repo_update(
repo_id,
branch = NULL,
tag = NULL,
host = db_host(),
token = db_token(),
perform_request = TRUE
)
repo_id |
The ID for the corresponding repo to access. |
branch |
Branch that the local version of the repo is checked out to. |
tag |
Tag that the local version of the repo is checked out to. |
host |
Databricks workspace URL, defaults to calling |
token |
Databricks workspace token, defaults to calling |
perform_request |
If |
Specify either branch
or tag
, not both.
Updating the repo to a tag puts the repo in a detached HEAD state. Before committing new changes, you must update the repo to a branch instead of the detached HEAD.
Other Repos API:
db_repo_create()
,
db_repo_delete()
,
db_repo_get()
,
db_repo_get_all()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.