Learn Github

First, what is Github

  • Github is the world's largest social programming and code hosting site ( https://github.com/ ).

  • Github hosts git repository, and provides a web interface (user name .github.io / warehouse name)

  • GitHub platform on October 1, 2007 began to develop. Website in February 2008 to begin beta version on the line, formally launched in April.

  • GitHub project which can be accessed and manipulated by standard Git commands. At the same time, all of the Git commands can be used GitHub project above. GitHub has developed a desktop client for Windows and iOS X operating system. In addition, to achieve Git function can also use third-party plug-ins.

  • Provides a series of social networking sites have features such as Chan (star), attention (follow), comment. Users can participate in the development by engraved (fork) in the form of projects to others, and through collaboration schematic diagram to see how many developers involved in the development and follow the current re-engraved version. In addition the site also Wiki (implemented by a software called gollum's) and other functions.

  • GitHub while allowing registered users and unregistered users to browse items on the page, or you can download the package in ZIP format. But users must register an account before you can discuss, create and edit projects involved in the project and code reviews of others.

Two, Github role

1. Share Code

(Can be several people together to complete a project)

2. Project Hosting

(Personal code may be put to Github equivalent to moving cloud as a disk)

3. Build a personal website

4. Make Resume

Three, Gihub use

Fundamental contents

  • Warehouse (Repository)

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

  • Collection (Star)

Favorite items for next view

  • Copy cloning project (Fork)

Independent existence when the fork of the project

  • Initiating a request (Pull Request)

  • Watch (Watch)

Concerned about the project, when the project can receive a notification update

  • Transaction Card (Issue)

Find the code BUG, ​​but there is no molding codes need to be discussed when used;

  • Github Home

Account creation is successful or click Web site navigation bar icon can enter github github page: on the left side of the page and focus on the main display dynamic user or user concerned about the dynamic warehouse; the right side shows all git repository

  • Depot home

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

  • Homepage

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

How to create a warehouse?

1) Click [Start a project to create a warehouse]

2) Fill in your personal information and verify

3) create success

4) New File


How to build a personal website?

1) Create Personal Site -> New Warehouse (Note: The name must be a warehouse .github.io [username])

2) new index.html file in the repository can

3) Enter the content of the site to add

4) Preview website

How to co-manage development projects?

Developers to submit their own code, you can share your work, some of the more well-known open source software projects will be posted on this platform, this platform is that many beginners to learn a good platform, and what questions can be asked and common solutions .

zhaooubasang users and fanze1 user intends to work to write a project.
1) fork warehouse
fanze1 users to submit written project, zhaooubasang user will fanze1 user-written project (progect) fork (clone, copy) locally.

2) modify the fork warehouse
zhaooubasang the user to modify the fork project file (progect) in.

3) initiates a request
zhaooubasang the user wants to modify the file update to the original warehouse, initiating a request (New pull request) to fanze1 user.

4) agreed to merge project
fanze1 Home users can view zhaooubasang user sent him to the update request (pull request), click to view the discovery well, click Merge pull request the updated files into the original warehouse.

Guess you like

Origin www.cnblogs.com/szmtjs10/p/11851810.html