Can anyone guide me on Github? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone guide me on Github?

I'm a fresh graduate with a course of Information Technology and I'm planning to make my own GitHub account and store my programming stuff kind of works there and then create a portfolio site so that I can give reference to future job requirements. Unfortunately, I can't understand its interface. I really don't have any idea about it, I can't understand anything i.e repository, pull-request, etc. unlike to any other platform like SoloLearn which is very easy to manage. If anyone could guide me for the start there, I'll appreciate your help. I hope anyone could.

4th Jan 2019, 9:54 PM
Eyedea
Eyedea - avatar
3 Answers
+ 3
A "repository" is like a folder containing your project. You can "clone" an existing repo (from Github or someplace else) or create your own, to work on it. After you have done some changes to some files, you "commit" them to your local copy of the repo. Once you have done your day's work or made some big change, you "push" your local commits back to the Github repository. Any other developer can then "pull" to download your changes. You can have multiple "branches" in your repo, for example a development version and a stable version. You can then push to the dev branch, and users wanting to use your code can pull from stable so they don't get your untested commits. Later you can "merge" the dev branch into stable. A "pull request" is used on Github when you don't have access to the repo you want to make changes to. Maintainers from that repo can then look at the changes you want to make before accepting your request. I'm sure google has tutorials that can go into more detail than I can in 1024 letters!
4th Jan 2019, 11:33 PM
Schindlabua
Schindlabua - avatar
+ 1
Schindlabua Thank you very much, man! This is really helpful. Sorry I can't upvote your answer for now. (Email activation needed) But I'll do it once I'm done with it. :)
4th Jan 2019, 11:39 PM
Eyedea
Eyedea - avatar
0
You're welcome and no worries :)
4th Jan 2019, 11:41 PM
Schindlabua
Schindlabua - avatar