We study Github mainly through its hosting of project code, skilled use Github is a program that ape the necessary skills. Github because all text is in English, probably not very friendly to some bad English white, with some children's shoes may feel that Google Chrome directly translated into Chinese just fine, but I do not support such an approach, partly because page layout will cause confusion after the translation, on the other hand for a program ape English is very important, you can learn some foreign languages by professional Github. Let's usepopularLanguage learning Github.
table of Contents
Github influence
The world's leading open source projects are open-source preference on GIthub
Linux:https://github.com/torvalds/linux
Rails:https://github.com/rails/rails
Nodejs:https://github.com/nodejs/node
Swift:https://github.com/apple/swift
CoffeeScript:https://github.com/jashkenas/coffeescript
Ruby:https://github.com/ruby/ruby
leravel:https://github.com/leravel/leravel
basic concepts
Warehouse (Repository)
Warehouses used to store your project, you want to have a open source project on Github, you must create a Repository, each item corresponds to a warehouse; if you open multiple projects, you will have multiple Repository.
Collection (Star)
Depot home star button, meaning the number of collection project on GitHub if you have a project to obtain 100 star has been very easy.
For us collectible item for next view
Copy cloning project (Fork)
You found a good open source project, you want to do to improve on the basis of this project, and then apply to your own projects, you can fork his project (project home page opens click on fork upper right button), then your on github page on more than a project, but this project is based on his project basis (essentially created a new branch in the original project), you will be free to make change, but did not affect the original project code and structure.
Note: This project is a fork of independent existence
Initiating a request (Pull Request)
Sending a request, which is actually based on the example, or on top of Fork, if you borrow someone else to do on the basis of the improvement, improved feel good, should make these improvements so that more people benefit, so they want to improve their merger to the original project, this time you can initiate a Pull request (referred to as PR), who created the original project, which is the original author, the author can receive this request, this time the author will carefully review your code and test OK, the author will accept your PR, this time you do to improve the original project will have.
Popular, is that you get a set of source code from mentors, followed by complete source code for this re-submitted to the instructor, this process is to send a request
Watch (Watch)
If you watch an item, then later as long as there is any project with this new, first time you will be notified about the project reminder.
useLeague of legendsThe jargon isInsert eye
Transaction Card (lssue)
You open a project, others have found that your project bug, or doing something not good enough, he can give you a lssue, that is the problem, raise this issue more, that is lssues, then you see these the problem can be repaired one by one, to repair the ok you can close off one by one
Popular talk is a comment
Find the code bug, but there is no molding code, need to be discussed with
GitHub page
GitHub Home
Account creation is successful or click on the project navigation bar icon can enter github github page; 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 github 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