Skip to content

Instantly share code, notes, and snippets.

View csrajath's full-sized avatar

Rajath C S csrajath

View GitHub Profile
@csrajath
csrajath / gdrive_gcolab_git.py
Last active January 31, 2021 15:53
This gist depicts the programmatic steps for integrating Gdrive with Collaboratory and authenticating
from google.colab import drive
drive.mount('/content/gdrive')
%cd /content/gdrive/MyDrive/folder_name
/content/gdrive/MyDrive/folder_name
!git init
!git remote add origin https://githubUserName:[email protected]/username/repo_name.git