Operation using GitHub website: GIT tutorial two

 

table of Contents

 

Preface:

1: Learning Objectives gitHub of;

2: Registration gitHub account;

1: Official Website: github.com

2: click the register;

3: Select the version;

4: answer the question with nothing, and I always skip;

5: Verify the mailbox;

6: Verify the mailbox after successfully entering gitHub home;

3: gitHub page Concepts.

1: Warehouse (Repository)

 2: Collection (Star)

3: Copy the cloning project (Fork)

4: initiating a request (Pull Request)

 5: Watch (Watch)

6: Transaction Card (Issue)

7: Github Home

8: Depot home

9: profile

4: Create a repository (project) and warehouse management

1: Creating a warehouse;

2: page description warehouse

 3: New File Storage

4: Edit the file

5: delete the file;

6: View modify, and delete records;

7: Upload file;

8: Search warehouse documents;

9: Download / detection project (the only presentation on the website, rather than through git command to download) 

5: gitHub operation;

1: Favorites (star)

[How] Collection

How to view your own collection

2: Watch (watch)

3: replicable cloning (the fork)

4: a request to modify the project (pull request)

Use of this site github over, next to explain the joint use git and github and of.


Preface:

This is the second tutorial git, mainly explain the use gitHub site, as well as the difference between git and git gitHub use can enter the blog home page to view it.

ps: I wrote this blog time is November 8, 2019 16:51:31, though do not know when you can see, but as long as you understand, even if the site is updated, there is not much difference.

1: Learning Objectives gitHub of;

With hosting github project code, currently Github as open source code base and version control system, Github has Bai million developers by users. As more and more applications into the cloud, Github has become the preferred method for managing software development and find existing code .

2: Registration gitHub account;

1: Official Website: github.com

2: click the register;

3: Select the version;

4: answer the question with nothing, and I always skip;

 

5: Verify the mailbox;

6: Verify the mailbox after successfully entering gitHub home;

ps: When new people entering the home, there will be at the top of a big WELCOME xxxxx, click on the upper right corner to close.

3: gitHub page Concepts.

1: Warehouse ( Repository )

Warehouse for storing program code corresponding to each item in a warehouse, a plurality of items are a plurality of open warehouse

 2: Collection ( Star )

Depot home star button, meaning the number of collectible items, in the GitHub if you have a project to obtain 100 star are considered very easy!

3: Copy the cloning project (Fork )

This translation is not good, if I really want to translate to translate him into the bifurcation, what does that mean? You open a project, someone you want to do to improve on the basis of this project, and then apply to their own projects, this time he could Fork your project (project home page opens click on the button to the top right corner of the fork ), then his GitHub on the home page more than a project, but this project is based on your project basis (essentially created a new branch on the basis of the original project ), he would be free to design improvements, but did not the impact of code and structure of the original project .

4: initiating a request (Pull Request)

Initiate a request, this is in fact based on Fork, or the above example, if someone else made improvements in your foundation, but then I improved very good, should make these improvements allow more people to return, so they want to own improvements incorporated into the original project, this time he can initiate a Pull request (referred to as PR ), who created the original project, that is, you can receive this request, this time you will carefully review his code, and testing feel OK, it will accept his PR, this time he has done to improve the original project would have.

 5: Watch (Watch )

Ye Hao understand this is to observe, if you Watch an item, then later as long as there are any updates to this project, you will first receive a notice about the project reminder .

6: Transaction Card ( Issue )

Find the code BUG, but there is no molding codes need to be discussed with; tell the truth is a message board .

Question meant, for example, is that you open a project, others find that your project has a bug, or what place is not good enough, he can give you an Issue, that is the problem, raise this issue more, that is, issues, and then you see these problems can go one by one to repair, the repair will be ok one's Close off.

 

7: Github Home

Account creation is successful or click Web site navigation bar icon can enter github github page: This page has a dynamic user side the main display and dynamic user attention or concern warehouse; on the left shows all the git repository

8: Depot home

Home main warehouse display item information, such as: project code, version of Favorites / Watch / fork and other circumstances

 

 

9: profile

Personal information: picture, personal profiles, and people following me, people I am concerned, I am concerned about the git repository, my open-source projects, I contribute to open source projects and other information

 

4: Create a repository (project) and warehouse management

1: Creating a warehouse;

2: page description warehouse

 3: New File Storage

Click the button to create the file

Enter the file creation page

 Click to commit new file repository Jump to main page

4: Edit the file

 

5: delete the file;

Click the file, enter the file details page

6: View modify, and delete records;

7: Upload file;

 

 

Upload files, select more than one file;

8: Search warehouse documents;

 

9: Download / detection project (the only presentation on the website, rather than through git command to download) 

5: gitHub operation;

1: Favorites (star)

[How] Collection

 Operation: open the corresponding project home page, click on the button to the top right corner star collection

 Scenario: Joe Smith has no intention to visit John Doe feels good open source projects and collections

How to view your own collection

2: Watch (watch)

Scenario: Joe Smith John Doe concerned about the project, add a project file John Doe, Joe Smith's home page will show up github

To demonstrate the effect (I do not know when Ali's library updates), I found a map from the website;

3: replicable cloning (the fork)

Scenario: Joe Smith John Doe think the project is good, he wanted to copy over and run it themselves, so they fork the project John Doe, John Doe equivalent of Joe Smith copied the project, so he also had a single of the same name warehouse (Note: this warehouse will be declared from John Doe, but independent existence)

4: a request to modify the project (pull request)

When you make a change on the fork over the project, and want them to adopt, then you can pull request

Use of this site github over, next to explain the joint use git and github and of.

 

Published 57 original articles · won praise 15 · views 40000 +

Guess you like

Origin blog.csdn.net/qq_41694906/article/details/102976010