cool hit counter GitHub Learning Documentation-1_Intefrankly

GitHub Learning Documentation-1

Getting to know GitHub for the first time.png

1 What is GitHub?

GitHub's Baidu encyclopedia

First of all, GitHub is a platform-level software, and there are apps for PC, web, and mobile, all of which are described below based on GitHub's web side. GitHub can be thought of as a hosting platform for open source and private projects with version control and collaborative code management features. Once you have an account, you can create your own repository on the platform, which is mainly a code repository on GitHub, and of course other applications.

2 What GitHub can do

As mentioned above, GitHub has version control. Version control is the process of gradually improving a project, which will produce different versions, such as mobile QQ. If you have to keep a copy of each version, think about how many versions you need to keep and have multiple backups to avoid losing them. But with your project on GitHub, it's easy to control the versioning of your project. Every time you make a change to your project, you can add a record to GitHub and compare the differences between versions, and it's easy to roll back to a previous version if you want to.

GitHub also has a collaborative code management feature, and in the age of collaborative team development projects, it's incredibly important to work better together to get your project done. GitHub branches a project, with the master branch being the master, and everyone on a team is a sub-branch. Everyone works on their own branch first, contributing to the master branch, and the team leader then merges everyone's sub-branches into the master branch.

GitHub is also a community where people can contribute their ingenuity to help other people, like sharing their code, materials, etc. On the other hand you can also get resources that others are open to share for free, but are bound by the agreements in the project. If you find a problem with someone else's project, you can submit it with a solution to the owner of the project. As a non-direct participant in the project, you can clone someone else's project and make improvements to submit to the project owner, so that you are considered a participant in the project. There are people in the community who post open source collaborative projects, and if you have the ability or advice to work with them and actually get involved in the development, this can enhance your own abilities and connections. GitHub is a global platform with many open source projects from foreign companies, where you can meet foreign friends and even receive a job offer from abroad.

Regarding the use of GitHub, I once saw a guy using it to write a novel, and a girl who put her criteria for finding a guy on it, but she didn't seem to find one? New features are being added to the GitHub site all the time as well, and this article is being written without having done any research on these new features, just as an introductory GitHub article?

3 Sign up for a GitHub account

GitHub has so many benefits, do you want to start your GitHub journey too?

GitHub official website homepage.png

Follow the requirements on the website, fill in your name, registration email and password information to register your account! Note that to verify, GitHub will send you a verification email after you sign up with your email address, so you need to click on the Verify email address link.

Join GitHub.png

  • 3.2 Step2

After successful registration, enter the welcome screen, choose your personal plan, for most people we choose the free open source repository type, after that if it involves confidential repositories can also be created as paid private repositories, so choose the first one is good.

GitHub welcome screen.png

  • 3.3 Step3

Fill in some information to briefly introduce yourself, like on the picture, how your programming experience is, your plans for using GitHub, who you are, what you're interested in, etc. Of course you can also just skip this step, in fact after Step 1 you'll have already signed up for a GitHub account.

A brief description of the individual.png

Finally, there's the GitHub first-time user guide, which is described in detail below because the GitHub website is in English.

Learning GitHub.png

4 Introduction to the GitHub website

We'll start by opening our GitHub profile, which is the home page of my newly registered GitHub account at , directly in You can add your user name to the end of the page, and the following pages are used to introduce the changes to your personal information on the page and the meaning of the proper names on the page.

GitHub Personal Page Introduction 1.png

GitHub Personal Page Introduction 2.png

Here's the GitHub homepage display for the account I'm currently using, because you just have a GitHub account, so the page isn't as informative as mine. It was also a little exciting to already have a fan of my own or a foreign friend.

Current account's profile information.png

  • 4.1 Modification of user information

Come along with me and change your personal information below! Click on the Edit Message button described above to access the Edit Message screen You can change your personal information by clicking directly on the image.

GitHub Personal Information Refinement.png

  • 4.2 Description of proper nouns on the website

Description of website proper nouns.png

Repository: On GitHub, Repository means repository, and a repository is your project, and everything starts with a repository.

Star: Star means "like" a project, but it also means "favorite". The projects you starred will appear in Star on your profile, so you can easily find the project later.

Fork From the icon in front of Fork and the meaning of the word, we can roughly guess that he has the meaning of branching, if you Fork a project, it is equivalent to a new branch on someone else's project, you can change the project as you like, without affecting the original project code structure, this Fork operation will be mentioned in the Pull requests operation afterwards. The concept of branching is explained in detail in Keeping Up with GitHub.

Watch: Watch a project is to follow a project, then the latest news of this project will send you timely notification alerts.

Gist: If you don't have a project open source and just want to share some code snippets, you can use the Gist feature, but this doesn't seem to open directly and you need to go over a wall to use it.

Code: Displays the directory structure and file contents of the current project

Issues: Problems or bugs in the project, if a project has a high number of Issues, it does not necessarily mean that the project has a lot of errors, which in fact precisely shows that the project is valued by many people, problems are not terrible, what is terrible is afraid to find problems, afraid to solve problems. If you find a problem, you can click the Issues option and ask your own question, and the status of the issue is Close off when the project's problem is solved, otherwise the status of this issue is Open. As shown in the figure below.

Issues description.png

Pull requests: You need to use pull requests to do this. You need to fork someone else's project first, then you can clone the project locally to make changes, then you can commit it to your own fork of the GitHub repository, and then you can click on the pull requests option in the repository to submit your contribution to the project. If your pull requests are accepted, then you are considered one of the contributors to the project.

Pullrequests description.png

Projects: You can add a new item to this repository, this feature is basically not used by anyone, to add a new item I will choose to create a new repository, so this feature is good to know.

Projects description.png

Wiki: If you have a project with detailed documentation, you can use the Wiki feature to make the project documentation more detailed.

Pulse: pulse is a summary of how active this project is, including the number of Pull requests and Issues for this repository, as well as the level of participation in the project, the number of commits, etc. These are all indicators of how much attention and participation a project is getting.

Pulse description.png

Graphs: Graphs are literally charts, but are really just another way of presenting the Pulse content as described above.

Graphs description.png

Settings: If the item is from your own repository, then you have all the settings rights for the item, if you are a participant, then there is no such Settings option. This option is for setting information about the project, such as renaming the project, deleting the project, turning off the Wiki and Issues features of the project, etc. Normally we just use the project's default settings.

Settings description.png

1、python common modules of random module
2、jumpserver basic build and configuration
3、How much do you know about sizeof
4、Installing Gitlab with Docker
5、Excellent Solutions Question 1113C Exam Practice QuestionsReserve Letters

    已推荐到看一看 和朋友分享想法
    最多200字,当前共 发送