简体   繁体   中英

How to make data persistent in Google Colab using Github or Google Drive?

I am using Git to clone my repository in Google Colab workspace then when I try to push changes to my repository, it tells me that access is denied. It doesn't even ask me for my username and password. I have been unsuccessful trying through SSH too.

May I know if there are any methods by which I can save the manipulated data processed in Google Colab for later use?

If the remote repo URL is an https one, and Git does not ask you for credentials, check your credential helper:

git config credential.helper

For instance, on Google Cloud , that would be gcloud.cmd or gcloud.sh .
That helper might have cached the wrong credentials (username/password)

Have a look here . You can get access to full SSH terminal from Colab instance using Clouderizer. From there you can check in your code changes to git repositary as many times you wish.

Disclaimer: I am one of the creators of Clouderizer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM