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.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group