Transcription
GitHub has many excellent open-source projects and useful software. But unfortunately, many people don't know what it is and also won't use it. So in this video, let's talk about what GitHub is. As a white-collar worker, you need to know its functions. This video is the second in a series. If interested, everyone can order a collection. If you don't know how to access GitHub, you can view my previous video. The content of this video is more basic and not suitable for programmers with years of development experience to watch. If there is no mistake, please discuss and correct rationally.
First, let's talk about what GitHub is. GitHub is the world's largest code hosting and collaboration platform. Its biggest role is to save the software source code written by programmers. Anyone can upload their own code. Source code can be roughly divided into two types. One is completely open; everyone can view, download, and use it within certain rules. For example, the famous Linux Android belongs to this category. Open source is the treasure of the human computer industry. Most of the software we use in our lives is based on open-source software for secondary development. It can be said that without open source, there would be no prosperous Internet today.
The other type of source code is private. Only the uploader and users with specified permissions can access it. It's called GitHub because it is mainly based on the idea of the version control tool Git, which establishes and manages code. As for what Git is, that's what another video will talk about. So, please ask below in my blog park video, "Why Blog Garden?" Don't use GitHub and ask why GitHub is used under my GitHub video. There is no need for a loveless and cool audience; there should be an answer here. Because GitHub is a code hosting platform, not a blog community. It's not a resource-sharing community. Although it has some functions of the first two to a certain extent.
Now, let's look at the second part. In this part, I will share some common GitHub function modules and their roles. When you receive the address of a GitHub project and open it, you will see an interface similar to the following. The most visible part of the interface is the code base, which is the middle part. Inside is the source code of the entire project. We can click directly to view its contents. You can also click the button in the upper right corner to select "Download" and download it directly.
Each file in the code base will have two pieces of information behind it. The first is the commit message, which is the last time the author updated the code's remarks. The second is the last update time. If in a project all documents were updated many years ago, that means it may have no one to maintain the code base. Below is the introduction of the project; GitHub will automatically access the README file of the project and show the contents here. You can generally see what this project does, its use, and how to use it. Of course, its specific content and the degree of detail depend on the author; there may be nothing written.
If you are not a programmer and just came to GitHub to find software, you can pay more attention to this part of the content. Another module that needs attention is the "Releases" on the right. This is usually packed by the author, introducing the software and the current version. You can download it directly. For example, this project I am opening now provides a Linux version, a Mac version, a Windows version, and a source package. Sliding down, old versions can also be found. According to your own needs, click to download.
It should be noted that not all projects will have releases to offer. On the releases is the "Bot" module, where an overall summary of the project will be shown. In general, there are brief labels for each project, open-source protocol, and important information such as star numbers. This can help you quickly understand the current project. The star count, similar to a video site's collection, can reflect the popularity of the project. If you are interested in a project, you can also click the star button to give the author a star. As you are interested in my video, you can also give me a collection and attention.
On the left of the star is the "Fork" function. Click on it, and you can directly copy all the code of the current project to your own homepage. That's right; taking someone else's code on GitHub is that simple. There is no need to notify the author, and you don't need to pay anything. The star and fork functions are GitHub's search modules. You can search for the current project, and you can also delete the original content in the search box to search the entire GitHub resource directly.
Finally, let's look at the upper left corner of the page. There is also a very important function here: "Issues." Its function is to give the author of the project feedback or questions. For example, if you encounter a bug while using it, you can tell the author here to help improve the project. You can also check out other people's questions or join the discussion to help others solve problems. It should be noted that you should pay attention to the quality of any discussion and respect others.
All right, the video is here. You now know all the common functions that a white-collar worker needs to know. You can play happily on GitHub. I'll talk about what you need to do if you want to participate in the development of open-source projects in the next video. That's all for this video. I'm Melody Ninety-Nine. Let's see you next time.