Skip to content

Instantly share code, notes, and snippets.

View irosyadi's full-sized avatar

Imron Rosyadi irosyadi

View GitHub Profile
@irosyadi
irosyadi / clone-github-repo-to-google-drive.md
Last active January 4, 2024 03:39 — forked from odewahn/clone-github-repo-to-google-drive.md
Clone a github repo into google drive using google colab

Here's how to import a github repo into drive using google colab.

In the first cell, import the drive package and mount you google drive:

from google.colab import drive
drive.mount('/content/drive')

In the next cell, put a bash script that just clones whatever repo you want: