cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

running git clone from databricks notebook

AmitAharon
New Contributor

Hey,

We have a use-case where we want to clone a git repository in Azure DevOps to a storage container (Blob storage).

When I'm trying to run the "git clone" command to local storage I keep getting `Operation not supported` error.

Git is installed and I have permissions to create files in my workspace.

The code I'm running:

%sh
git clone <Azure DevOps repo> /Workspace/Users/<my user>/test2/

Error message: 

Cloning into '/Workspace/Users/<my user>/test2'... 
/Workspace/Users/<my user>/test2/.git: Operation not supported
 
1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @AmitAharonEnsure that you have the necessary permissions to clone the repository. You mentioned having permissions to create files in your workspace, but also verify that you have access to the specific Azure DevOps repository you’re trying to clone.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!