How to compare two databricks notebooks which are in different folders? note we dont have GIT setup

MAHANK
New Contributor II

we would to like compare two notebooks which are in different folders , we are yet set up a GIT repo for these folders.?

what are the other options we have to compare two notebooks?

thanks

NAnda

 

 

arekmust
New Contributor III

Hi @MAHANK,

If the Repos are not an option for you at the moment, you can use Visual Studio Code to compare 2 files. 

It's pretty straightforward. All you have to do after installing VS Code is to download both files to your local environment, open them in the IDE, and follow instructions in the link below.

The disadvantage is, that the Notebooks might not be that easy to read if you have magic commands inside. But it's manageable though.

Read more here: https://code.visualstudio.com/docs/editor/codebasics#_compare-files

 

MAHANK
New Contributor II

Hi 

Thank you for your response. I tried that but was looking for a solution within the Databricks tool for comparing to notebooks if it's available. 

 

arekmust
New Contributor III

Then using the Repos and Git (GitHub/Azure DevOps) is the way to go!