Anonymous
Not applicable

@Oliver Angelil​ :

If you have already cloned the Git repository in the Repos section of Databricks, you can navigate to the location of the cloned repository in the shell CLI by using the Databricks File System (DBFS) path.

Here are the steps to navigate to the cloned repository location in the shell CLI:

1) Open a new notebook in Databricks and execute the following command to display the DBFS mount point:

%fs mounts

2) Look for the mount point corresponding to the storage account where the repository is cloned. For example, if the repository is cloned in Azure Blob Storage, you should see a mount point for the storage account.

3) In the shell CLI, navigate to the DBFS mount point using the following command:

cd /mnt/<mount_point_name>/

4) Navigate to the folder that corresponds to the name of the Git repository using the following command:

cd <repository_name>

5) You can now use the Git CLI commands to perform operations on the cloned repository.

Please note that the DBFS mount point name and the repository name may be different from the original repository name on the Git repository host.