1
$\begingroup$

We are able to load a file from a site such as kaggle and git hub to google collab, we apply the below code to download from other sites into google colab:

!wget nlp.stanford.edu/data/glove.6B.zip

but I am very curious to know if I am able to upload a saved file (such as an output from google colab) to kaggle or github with a command like above?

$\endgroup$
3

1 Answer 1

2
$\begingroup$

In your directory /miryam/myproject:

git init .    
git add myfile    
git commit -m "First commit"    
git remote add origin remote https://github.com/yours_project    
git push origin master
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.