Created
October 13, 2020 16:40
-
-
Save thepushkarp/5b871bbe9085737b2d641da8cd819ffc to your computer and use it in GitHub Desktop.
Commands to clone your repository in Google Colab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uname = "<your username>" | |
!git config --global user.email '<your email>' | |
!git config --global user.name '<your name>' | |
from getpass import getpass | |
password = getpass('Password:') | |
!git clone https://$uname:$password@github.com/<username>/<repo name>.git | |
!cd <repo name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment