09-20-2022 06:30 AM
09-28-2022 05:17 AM
09-20-2022 01:08 PM
Hi,
In the Add Repo dialog, click Clone remote Git repo and enter the repository URL. Select your Git provider from the drop-down menu, optionally change the name to use for the Databricks repo, and click Create. The contents of the remote repository are cloned to the Databricks repo.
Please refer: https://docs.databricks.com/repos/work-with-notebooks-other-files.html#clone-a-remote-git-repository
Please let us know if you need further clarification on the same.
09-21-2022 06:27 AM
hi,
Thanks!
but I did that already 🙂
My question was more like if it is possible to copy the content of a repo into a folder in the shared area of the workspace.
09-28-2022 05:17 AM
finally did it with devops, was easy actually.
04-04-2023 01:09 AM
Hi, could you share a bit I am struggling with the same problem, would be much appreciated!
04-04-2023 01:52 AM
06-22-2023 07:55 AM
Alternatively, you can schedule a notebook with the following cell:
%sh
cp -r /Workspace/Repos/username/repo_name /Workspace/Shared
Please note that you'll have to update (i.e. pull) the repo manually if you've updated it somewhere else (although you can also schedule that with the Databricks Repos API).