cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

legacy Git integration has been removed from Notebook

Eren_DE
New Contributor

How to integrate a notebook saved in workspace folder with git repos with feature branch? 

1 REPLY 1

Kaniz
Community Manager
Community Manager

Hi @Eren_DEIntegrating notebooks from your Databricks workspace with Git repositories, especially when working with feature branches, can streamline collaboration and version control.

Here are the steps you can follow:

  1. Clone Your Git Repository:

    • Begin by cloning your existing Git repository to your Databricks workspace. This ensures that you have a local copy of your codebase in Databricks.
  2. Create a Feature Branch:

    • Use the Repos UI within Databricks to create a feature branch from the main branch. For example, you can create a feature branch named feature-b for your work. Feel free to create multiple feature branches if needed.
  3. Make Modifications in Notebooks:

    • Open the notebooks in your Databricks workspace and make the necessary modifications. These changes will be specific to your feature or task.
  4. Commit Changes to Feature Branch:

    • Save your changes within the notebooks.
    • Commit these changes into the feature branch you created earlier.
  5. Pull Request (PR):

    • When youโ€™re ready to merge your changes, create a pull request (PR) from your feature branch to the main branch.
    • Review the changes, discuss with your team, and merge the PR once approved.
Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.