Google Colab + Git - Pushing Changes to a GitHub Repo!

preview_player
Показать описание
Brief tutorial on how to access Git in Google Colab and push changes to a GitHub Repo.

The notebook can be found in the "Google Colab Tutorials" folder within the below repo.

CONNECT:

|-Video Chapters-|
0:00 - Intro
0:08 - Brief Background on Git
0:25 - Difference between Git and GitHub
1:10 - Repositories on GitHub's site
1:49 - Logging into GitHub from Git
2:25 - Generating a token from GitHub
3:40 - Cloning a repository from GitHub
5:15 - Inserting a file into the cloned repository
6:03 - Getting the status of the copy
6:32 - Adding untracked files
6:56 - Committing a file
7:41 - Pushing changes to GitHub
8:53 - References and additional learning
Рекомендации по теме
Комментарии
Автор

omg your tutorial is so clear and concise..loved it so much! thanks bunch!

efecu
Автор

so many thanks! i did it so fast with your tutorial! it took me more than 4 hours trying to do this with gpt

vbolt
Автор

Thank you so much, you are a life saver, my machine does not have a GPU and I needed to run a StyleGAN, and the only way was through colab, thanks a lot!!!

arshupadhyaya
Автор

Thank you so much for this tutorial ! I make my entirely research using colab and I aways try to update the repository in there but I never did. Thank you !

thalesfonseca
Автор

thankyou! but what about if i want to edit the code? when I clicked it open a window which only allows you to see but not to edit :/

edo_far
Автор

How to change the GitHub file path in google colab,
I mean if we want to push to a subdirectory within a repo.
Thanks.

waisyousofi
Автор

Thanks Adrian for the video! What is the purpose of '-a' at '!git commit -a -m "message"'

marcelocoip
Автор

Short - simple and straight to the point: 👌👌don't know what to say...Just simple perfect video 👍👍👍👍 btw do you have any written document where i can follow the steps too. This wouldbe awsome!

martinkaspar
Автор

Thank you of course, but I have a question: Isn't there a risk of writing the password explicitely in plain text?

IyadKhuder
Автор

Can we create a conda or pyenv virtual environment inside Google colab that can be resued (instead of installing pip packages everytime inside Google Colab), everytime we clone a Git Repo to modify and develop?

dilip.rajkumar
Автор

Great vid, I have a question though: every time you run the notebook, do you need to clone the repository all over again?

nadiaa
Автор

Hello, i try this and it says could not read password

lutfiirhmn
Автор

Where do you have your Google Colab + Git Pushing Changes to a GitHub Repo! notebook? How does it know what to add to that repo specified.

tgkjqis
Автор

Can you open a notebook from the terminal? I tried !jupyter-notebook notebook.ipynb

Ex_Arc