QuestionQ81

VerifiedData Sharing and Federation

A developer has successfully set up their credentials for Databricks Repos and cloned a remote Git repository. They lack privileges to modify the main branch, which is the only branch presently visible in their workspace.

Which approach lets this user share code updates without risking an overwrite of their teammates’ work?

Explanation

A separate branch isolates the developer’s commits from the protected main branch. The developer can commit and push the branch to the remote repository, where the changes can be reviewed and merged through the normal pull-request workflow. Databricks documents that users without permission to commit to the default branch should create a new branch and use their Git provider to create a pull request into that branch.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!