db_repo_update {brickster} | R Documentation |
Update Repo
Description
Updates the repo to the given branch or tag.
Usage
db_repo_update(
repo_id,
branch = NULL,
tag = NULL,
host = db_host(),
token = db_token(),
perform_request = TRUE
)
Arguments
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 |
Details
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.
See Also
Other Repos API:
db_repo_create()
,
db_repo_delete()
,
db_repo_get()
,
db_repo_get_all()
[Package brickster version 0.2.8.1 Index]