Hallo every, i am new to the datalore. Is there a way to sync my git repo notebooks into the home workspace files? I see that i can use the ipython magic to clone from a notebook cell. But how can i sync and download my notebooks from git repo into my datalore home?
Is the download and update files manually the only option?
Is there a way to sync my git repo notebooks into the home workspace files
Unfortunately, there is no option to sync notebooks from Datalore workspace to a git repo, but we’re considering adding such a feature in the future.
As a partial workaround you may extract your code to a .py file, place it in the Attached Files or Workspace Files folder and import it in the notebook - this way you will be able to sync it, but yes, it wouldn’t be convenient.
Hi @Yingding, please take into account that since everything in /data/notebook_files is persisted between runs, therefore your repo won’t be updated next time the notebook is started. Maybe it makes sense to pull it if the directory exists
@igro I’m testing out Datalore and git repo integration being more a part of the UI is a deal-breaker for me. Jupyterlab and VS Code both have built-in UI for importing git repos. I’m hoping this could be added as a feature soon.