What is Github? After reading it, you will understand some

  • To understand Github, we must first know Git. Git is a tool for managing code. Writing code is not easy. It is not easy when one person writes it, and it is even more difficult for a group of people to write, but there are many people in the world. How come things are not easy, most people will write code with others, the problem is that so many people write a thing, you write a little today, I will write a little tomorrow, and then find that you wrote it wrong, and it affects I wrote it the day before yesterday, how do I find errors in the final summary? When will it be aggregated? There are too many questions. To make writing code a little nicer, we have something called code management, and Git is one of them. I've used SVN as well, but today we're just talking about Git.

  • The core idea of ​​Git is "distributed". We have a "main warehouse" on the server, where we put the code that can be used on the table. We can also create branches on our own computers. These branches are controlled by the "main warehouse". Clone it, and then we can happily write the code on our own computer. After writing the code, we can synchronize it in the branch of our own computer. When you feel that your code is out of the way, we can apply to update your own code. In the "main repository", once we pass such an audit, we have made some kind of contribution to the "main repository". Outstanding programmers from all over the world continue to contribute to the "main repository" of a project, making the project become more and more perfect.

  • Github is a commercial website that uses Git ideas to work. All developers can create a "main repository" for their projects on Github. A good project is like a small fresh meat in a wolf pack, and a large number of developers will Clone the code in this main repository to your own "sub-repository", which is "Fork" in sexier terms.

  • Git's method is indeed very elegant, but the question is, will anyone be willing to publish their hard-working code and let them fork?
    Yes, not only yes, but a lot. Github has more than 1.4 million users. You might say that the social software has 20 million users, and 1.4 million is nothing. But these 1.4 million users almost cover the best developers in the world. I believe that your social software engineer with 2000W users must also use Github. For any project, getting a fork or a star on Github means that other engineers have recognized the project, which is more valuable than 100 likes in Qzone.

  • Why do these excellent engineers open source their projects?
    Because open source is a spirit.

  • Countless software developers worked hard to protect their code from being cracked, but they were still cracked by smart script kiddies, but script kiddies who cracked countless software were dumbfounded in the next cracking, because this is open source, Without breaking it, breaking it breaks.

  • Closed source means closed, and open source means open. Closed is difficult to make progress, and openness will make progress. Openness makes it possible for human wisdom to gather. The gathering of human wisdom is no longer 1+1=2. This is the power of open source.

  • Closed source is a kind of exclusion, while open source is inclusive, closed source is to fight alone, open source is the common enemy, closed source is self-respect, open source is selfless dedication, closed source is small wealth and peace, open source is the world, closed source is capital. ism, open source is communism.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325897814&siteId=291194637