How to Manage Changes Using Azure DevOps and Azure Databricks

This guide will walk you through managing changes using an Azure DevOps Git repository for source control and pull requests, while making coding changes in the Azure Databricks web interface.

Prerequisites

Before you begin, ensure you have the following:

  • An Azure DevOps account with access to a project and a Git repository.
  • Access to the Azure Databricks workspace.
  • Basic knowledge of Git and Azure DevOps.

Steps

1. Open the Repository in Azure Databricks

Note

Note: If you have not already connecting a Git Folder to the repository, see Connect Databricks to a Repository for details on setting up the folder

  1. Navigate to the WUSM Data Lake.
  2. Sign in with your WUSTL Key.
  3. Navigate to the Git Folder for the repository within your home folder.

2. Pull the Latest Changes from the Main Branch

  1. Navigate to the Repository in Databricks:

    • In Databricks, go to Repos and select the cloned repository.
  2. Pull the Latest Changes:

    • In the repository, click on the branch indicator button.
    • Select the main branch.
    • Click on the Pull button to fetch the latest changes from the main branch.
    • How to work with Git in Databricks

3. Create a New Project Branch

  1. Create a New Branch:

4. Make Changes in the Project Branch

  1. Develop Your Code:
    • Create or open a notebook in the repository.
    • Make your desired code changes in the notebook.

5. Commit and Push Changes to the Remote Repository

  1. Commit Changes:

6. Create a Pull Request in Azure DevOps

  1. Navigate to Azure DevOps:

    • Go to Azure DevOps.
    • Open the project that contains the repository that contains your code.
  2. Create a Pull Request:

    • Navigate to Repos > Pull Requests.
    • Click New Pull Request.
    • Select your newly created branch as the source branch and main as the target branch.
    • Add a title and description for your pull request.
    • Click Create.
    • How to create a pull request in Azure DevOps
  3. Review and Complete the Pull Request:

Conclusion

By following these steps, you have successfully managed changes using an Azure DevOps Git repository and made coding changes in the Azure Databricks web interface without using the terminal. This workflow ensures that your development process is streamlined and version-controlled.


Updated on August 7, 2025