eli5 GitHub/Gitkraken basics

224 views

I signed up for a college class thinking I’d be writing storylines for video games, but it is NOT that. So, I’m doing GitHub stuff and I am so confused.

I did a computer science fundamentals class last semester thinking it would be fun; it wasn’t. Technology is like magic mumbo jumbo and I cannot get a handle on it. Anyway, there are no other classes for summer I’m interested in, and I want to keep the credit hours I’ve signed up for.

What is a repository?
Commit?
Staging?
How does any of this work with coding? Or creating something?

And yes, I’ve watched the tutorials but I just don’t what these basics mean, and the videos just act like I should.

In: 9

7 Answers

Anonymous 0 Comments

So explaining this to a 5 year old might actually be impossible, the 2 most basic commands are:

1. Checkout: This is basically just a glorified name for download, it lets you download a specific version of the program code.
2. Push: This is the opposite of a checkout, it means to upload code from your computer into GitHub and puts it into a new version.

Now for all the words you listed heres the simplest explanation I can come up with:

Repository: A collection of ALL the versions of code created for this project.

Commit: The act of pushing code (Or in some cases creating pull requests, which is an advanced version of push)

Staging: This is an advanced version of checkout, it lets you save your changes locally and reset the code to the version you downloaded. This is useful if you are doing several different things at the same time.

How does any of this work with coding? Or creating something?

It is an amazingly powerful tool for software development, it is also mainly only used in a team setting.

For teams its most basic function is to mix together peoples code without them having to coordinate stuff like: “Ill pass you this snippet of code to add to line 253” it makes working together a lot smoother and is generally loved by everyone.

As a summer class it seems like a great way to make yourself WAY more hireable as a software developer.

“I did a computer science fundamentals class last semester thinking it would be fun; it wasn’t. Technology is like magic mumbo jumbo and I cannot get a handle on it.” This is most people in IT, if you are looking for a relatable subreddit for this: r/programmerhumour has hundreds of us all in your shoes

You are viewing 1 out of 7 answers, click here to view all answers.