I'm on a Chromebook (stock setup), but relatively new to the whole coding business. Presently, I'm trying to gain familiarity with Google Colaboratory coupled to Google Drive to do data analysis anywhere.
My problem, then is this: Since I can access Github via !git
automatically in Colab, I created a new repository and cloned it. But I can't add the .ipynb
because !git status
shows no changes/doesn't see the notebook I'm in as a file. How can I push the .ipynb
from my Google Drive back to Github?
Basically, I hope to pull up Colab anywhere, play with my data, save the changes in the .ipynb, push to Github, and go elsewhere to keep playing with the data.
Manual copying likely would work, but is there a more elegant solution?
TIA!
You have likely come up with a solution to this by now, but I see that there is now a "Save copy to Github" feature in Colab, quoted from this blog post:
You can also easily save a copy of your Colab notebook to Github by using File > Save a copy to Github…