Managing branches, pull requests, and merge conflicts
Azure Databricks integrates with Git providers (GitHub, Azure DevOps, GitLab, Bitbucket) through Databricks Repos, allowing engineers to manage branching, pull requests, and merge conflicts directly within the workspace or via the underlying Git provider's UI. This enables standard CI/CD workflows for notebooks and code artifacts while keeping production pipelines version-controlled and reviewable before deployment.
1 · Learn the must-know
- Databricks Repos supports core Git operations (clone, checkout, pull, push, commit) natively in the workspace UI, letting users create and switch branches without leaving Databricks.
- Pull requests themselves must be created, reviewed, and merged in the Git provider's interface (e.g., GitHub, Azure DevOps) since Databricks Repos does not host a native PR review system.
- Merge conflicts detected during a pull in Databricks Repos must typically be resolved in the Git provider or via command-line Git, then re-synced into the workspace, as Databricks Repos has limited in-UI conflict-resolution tooling for complex conflicts.
- A common CI/CD pattern is to develop on feature branches in Databricks Repos, open a PR for review in the Git provider, and use the main/production branch (often synced to a separate Repos folder) to run scheduled jobs, ensuring production code changes only after merge.
- Databricks Repos enforces workspace-level Git integration settings (configured by admins) that control which Git providers and repositories can be linked, so users must have the correct personal access token or credentials configured for their Git provider.
- Sparse checkout and repo size limits mean very large repositories may need selective folder checkout when working with Repos, which can affect how branching and file visibility work for pipeline code.
2 · Check your understanding
A data engineer is working on a feature branch inside an Azure Databricks Repo. After pulling the latest changes from the main branch, Databricks Repos reports a merge conflict on a notebook file and blocks the pull from completing. What should the engineer do to resolve this situation?
What you have tried across DP-750's objectives, not a readiness score.
Set up and configure an Azure Databricks environment15-20% of the exam0 of 13 tried
Secure and govern Unity Catalog objects15-20% of the exam0 of 12 tried
Prepare and process data30-35% of the exam0 of 28 tried
Deploy and maintain data pipelines and workloads30-35% of the exam0 of 24 tried
3 · Keep going
Ready for more? Take a weighted mock or try free practice questions.