This community is primarily focused on Android enthusiasts, but without the support of developers and their contributions the community would cease to exist. We would just become another “fanboy club.”
As a member of our community, you might already be aware of what GitHub is, how it works, and what functionality it offers. However, acknowledging the fact that there are readers who might not be as familiar, we’ve got some explaining to do.
Understanding GitHub
GitHub is a project-hosting service. It hosts source codes for various types of programs, ranging from simpler ones like an HTML website to more complicated ones such as entire operating systems. GitHub is a “wrapper” or a front-line interface for a version control application called “Git.” A version control application is more nothing than an application that detects and handles changes to a file/project.
GitHub, however, is not the only version control hosting service out there. BitBucket, GitLab, or Codebase are some of the most popular alternatives. While all of the services we’re just mentioned do the same thing, the minute differences are what keep developers on one platform over another. In any case, we’re not here to debate which project-hosting service is the best, merely to illustrate how to use by far the most popular one out there. Let’s get started.
Creating a repository
To host your files on GitHub, you will need an account. Head over to this link and register for an account. If you already have one, just use your existing account.
Now, you will need to create a new repository. Head over to the “Repository” section on GitHub and click on the big green button that says “New.”
After choosing a fitting name and description for your repository, go ahead and leave the repository “public.” For acquiring the ability to make your repositories “private”, you must have a premium account. Now, click on the text that says “Initialize this repository with a README.”
Upload files
Here’s where the fun begins. After successfully completing all the steps mentioned above, you will have a rich new repository made just for you. Just like a proper and functional file-hosting service, you can now host various types of files. All you have to do is click the button that says “Upload Files” and your file will be added to your public repository.
GitHub needs you to create what is called a “commit” every time you upload something. A commit is a note of the changes made to the file/project. Since you’re uploading a new file here, you shouldn’t have to worry about that right now. However, for any future uploads, a simple commit message like “Uploaded a new file” should do.
Anyone can GitHub
After reading this tutorial, it should be clear that GitHub is not tough to use at all. Sure, it is seen as the place where developers are thought to work on their black magic which they can then share the secrets with us on our forums, but in reality it’s not that complicated.
I’ve seen questions like “How the heck do I use GitHub” and “This service is beyond my understanding. Please explain.” I hope this article will help people realize that GitHub is actually quite user-friendly.
Anyone can GitHub. You just have to try.
Do you use GitHub for any of your projects? If so, what are you using it for? If you aren’t using GitHub, we will be starting an “Anyone Can GitHub” series to teach you how in more detail. Let us know in the comments below what questions you might have.
from xda-developers http://ift.tt/2m8iRLP
via IFTTT
Aucun commentaire:
Enregistrer un commentaire