
Explanation:
In Databricks Repos, the branch selection dropdown only displays branches that have been fetched to the local environment. If a specific remote branch (such as dev-2.3.9) is missing from the list, the user must first perform a 'Fetch' or 'Pull' operation. This updates the local view of all remote branches available from the Git provider. Once the list is refreshed, the developer can select the desired branch and switch to it.
Why other options are incorrect:
Ultimate access to all questions.
A junior developer is experiencing incorrect results in their development environment notebook. Upon inspection, it is discovered that they are working on a personal branch with outdated logic within Databricks Repos. They want to switch to the dev-2.3.9 branch to review the updated logic, but that branch is not visible in the branch selection dropdown.
Which action should the developer take to access and review the dev-2.3.9 branch?
A
Use Databricks Repos to check out the dev-2.3.9 branch and allow the system to automatically resolve any merge conflicts with the current branch.
B
Merge the current personal branch with dev-2.3.9 and create a pull request to synchronize with the remote repository.
C
Use Databricks Repos to fetch updates from the remote Git repository, then select and switch to the dev-2.3.9 branch from the dropdown.
D
Create a pull request via the Databricks REST API to force the current branch to update to the state of dev-2.3.9.
No comments yet.