Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2022 09:37 AM
I am making use of repos in databricks and am trying to reference the current git branch from within the notebook session.
For example:
from pygit2 import Repository
repo = Repository('/Workspace/Repos/user@domain/repository')
The code above throws an error stating that the repository cannot be found. Similar errors are thrown with GitPython as well. It seems to me that DataBricks Repos are configured in a way that means these packages cannot recognise them.
Does anyone have any experience of this?
Thanks
Labels:
- Labels:
-
Git Integration