Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2021 03:11 AM
As title, I need to clone code from my private git repo, and use it in my notebook,
I do something like
def cmd(command, cwd=None):
process = subprocess.Popen(command.split(), stdout=subprocess.PIPE, cwd=cwd)
output, error = process.communicate()
print (output.decode())
if error is not None:
print ("----\n"+error.decode())But I have to do this, redefine this function all the time.
I think this is cumbersome,
Is there a way that I could clone the repo into the "Repos" which databricks offered in the left side bar, and have full version control with databricks?
(I am not installing published packages from pip)
Labels:
- Labels:
-
CloneRepository
-
Repository