Leo Umesh avatar

SOME BASIC STUFFS I LEARNED ABOUT USING GITHUB!

leoumesh

Published: 27 Apr 2020 › Updated: 27 Apr 2020SOME BASIC STUFFS I LEARNED ABOUT USING GITHUB!

SOME BASIC STUFFS I LEARNED ABOUT USING GITHUB!

First of all you need to have git downloaded on your computer. You can download it from here:

https://git-scm.com/downloads

After installing it, if you want to check whether the git has been installed or not, simply go to command prompt and type this command git --version. I just installed it recently and you can see git has been installed on my machine.

Screenshot_1.png

The next step is that I created a new repository called PythonGit.

Screenshot_4.png

After that I opened this repository in PyCharm, an IDE for python developer. You just have to click Get from Version Control and then select Git from the given options.

Screenshot_2.png

You can get the link to enter from here:

Screenshot_3.png

Now you can see those 3 files in my github account has been shown into Pycharm:

Screenshot_7.png

Initially, there were 0 lines of code in test.py. Then I added a code to print Floyd's triangle there. Then I clicked this one so that the code I wrote in my pycharm will be pushed into my github.

Screenshot_8.png

Now you can see the latest commit was done 1 minute ago. And you can see those lines of code I wrote in pycharm also has been added to test.py in github.

Screenshot_9.png

Screenshot_10.png

Leave SOME BASIC STUFFS I LEARNED ABOUT USING GITHUB! to:

Written by

I am just a passionate blogger.

Read more #hive-148441 posts


Best Posts From Leo Umesh

We have not curated any of leoumesh's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Leo Umesh