QuestionQ51

Deploy and maintain data pipelines and workloads

You have an Azure Databricks workspace containing a Git folder that uses an Azure Repos Git repository.

From the main branch, you create a branch named Branch1 and commit changes to Branch1.

You need to integrate the changes from Branch1 into main. The solution must retain the repository’s commit history.

Which Git operation should you use?

  • A rebase
  • B pull
  • C merge
  • D push
Explanation

A merge combines Branch1 into main while preserving the commit history of both branches. Azure Databricks Git folders use git merge for branch merging; unlike rebase, it does not rewrite commit history.

Learn more

Community Discussion

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