Earlier I made account on GitHub, followed many people and saw them doing something with simple and complicated codes and projects — but myself quite unsure how to go about it, how to use Github, with this headache I never used GitHub. Though I knew many things about coding which I could contribute to other’s work.
So finally I made up my mind to use GitHub, with the situation do or die. Otherwise I won’t learn anything worthwhile, and I think this will help you a lot if you are just a beginner like me.
First thing, very basic is to sign-up for GitHub (I assume you know something either of front-end like html, css; or of back-end like php, java, etc.,).
After sign-up, do sigh-in, after sign-in if you get the message “Learn Git and GitHub without any code!” Hit “Read the guide” option, and take a journey.
If you don’t get the message go to that link directly: https://guides.github.com/activities/hello-world/.
In fact, I wasn’t expecting that message when I signed-in, but that’s good. Otherwise I thought to learn GitHub by run-hit-crumble run-hit-crumble method; that’s the way I make myself learn everything.
So we first check the link, let’s see what they tell us, and will do our r&d later on.
READING AT THE LINK
That link is supposed to teach you about Repository, Branch, Commits, and Pull Request.
First let’s get educated.
Repository: place of a single project, which contains all the necessary things.
Branch: the main branch is Master, other branch is the copy of the main Master branch.
Commits: saved changes.
Commit message: reason / description of making a Commit. Help other people to understand why the changes are made. It keeps on adding in History tab.
Pull Request: proposing your changing, that are shown in green (additions) and red (subtractions).
Merge Pull Request: now if you are admin/owner of the repository, this would be easy for you to merge changes in the Master branch.
After reading the above information if you follow through the link given (above), you will be able to do everything that is essential for a beginner.
But I’m looking for more, there are many signs and symbols I can’t understand till now; if you want to take a journey with me, keep on reading.
Removing a Repository and deleting a Branch:
In the beginning we create and delete, just to learn. To delete a Branch just select the Repository and then select the Branch, you will find Master Branch and others (if you have created earlier), from the dustbin like symbol you can remove any branch.
To remove a Repository, just select the Repository first and go to Settings, at Settings keep on running down until you reach the place “Danger Zone,” the second option of Danger Zone is to delete a Repository.
The threesome: FORK, STAR, and GIST
FORK: when you click on Fork, you copy a other Repository in your GitHub account.
STAR: it is something like to mark some Repository which are important to you, so you can directly see under Star Tab.
GIST: it is for sharing codes or notes via a sharing link.
Leaving the hard part now
There are Repository Settings, Developer Settings, SSH and many other things, which are advanced than the above basics. I need time to talk about them, so will write about later on some day in a good weather.
Comments
Post a Comment