Chapter 178 GitHub Source Code Repository
Version control tools are mainly used in large-scale software development fields.
Before the emergence of git distributed source code management tools, version control tools were mainly centralized version control tools, such as famous CVS, and svn used by many large enterprises.
Every programmer uses tools to create a working directory tree on the local workstation. The contents in the directory are all the code in the version library. After modifying or completing the code, they will submit it to the remote code library.
However, this centralized management method has great limitations, because each local directory tree is the latest code, but if you want to query historical modification records, you must compare it with the code base on the server.
In this way, you must use the network and always keep the network online in order to do so. And the biggest problem is that there is only one main version and cannot be modified at will, which limits the efficiency of software development.
Git is different. After grabbing the code base and submitting the code to the repository, there is no need to connect to the remote repository, and there is no need to connect to the network. All records are stored in the directory of the local computer.
During synchronization, through git's h operation, connect to the network, upload the code to the main version library, and after automatic comparison and changes, a patch package containing a small amount of modification is generated. The patch package is tested by the project maintenance personnel. After there is no problem, it will be updated to the main version library.
In my previous life, the git distributed source code control system was created by Linnast Watz, the inventor of the lux system. Because the lux system is an open source operating system, most of the source code updates come from the unpaid labor of many programmers, and there are thousands of staff who update a large amount of source code to the lux team every day. If it is purely manual, the workload is too high and the efficiency is too low.
So, Linasterwaz created the git version control system in 2005 to solve the version control problem of the lux system.
The launch of a distributed management system is also Zhang Yi’s own need.
Microhard companies have more and more software types and their code bases are getting bigger and bigger. They have to go abroad frequently, so it is very troublesome to update codes and fix bugs.
If programmers want to communicate, they can only communicate by phone or email. If the code submitted by programmers stationed in the Celestial Kingdom is seen in Sam's country, they can only be through point-to-point communication. Considering the time difference, network environment and other adverse factors, it will lead to extremely low communication efficiency. If European programmers are added, it will be a nightmare.
The emergence of git provides solutions to the control of distributed source code.
And github is like a large three-dimensional warehouse that brings together all companies with code storage and management needs.
For individual users, the github code repository is completely free, but you need to open your source code.
At the beginning, some original
Programmers will feel that it is a disadvantage to disclose the source code, but later they find that things are far from being so simple.
After uploading your own source code to the website, all programmers can see that some interested programmers will test their source code, find out some bugs, or put forward some improvement suggestions.
The people are so powerful that they are fully reflected at this moment. After the efforts of many programmers, even the garbage source code will be turned into treasure and become shining gold.
The process of modification is the process of collision of programming ideas. Through continuous communication, everyone will soon find that their programming ability has made rapid progress and their growth rate is far beyond imagination.
The circle of programmers is relatively niche, but the horizontal connection is very wide and technical communication is frequent. Such a good source code warehouse website spreads explosively through atomic fission.
In contrast, languages seem calm. After all, it takes some time to accumulate a new type of high-level programming language to quickly form a trend.
At the end of November, Zhang Yi, who was quietly writing codes at the company, suddenly received an international long distance, looking at the phone code displayed on it, which was from Sam Country.
I don’t know who will call, but when I answered the phone, the other party said in very standard American English, "Hello, Mr. Zhang Yi, I am Hans from the Sam Country Recording Society. On behalf of the Sam Country Recording Society, I would like to congratulate you on your 2000 Grammy Award nomination. I would like to invite you to attend. On February 21, 2001, at the Staples Center in Los Angeles. I wonder if you have time to attend?"
When Zhang Yi heard this, he couldn't believe his ears. He deliberately moved the microphone away a little and pinched his thighs. It hurt very much. It seemed that he was not dreaming.
The person opposite was silent, waiting for his answer.
"I am very honored to be recommended by the Recording Society for Grammy nominations and am very excited. I will attend. Thank you very much for your notification."
"Mr. Zhang, you're welcome, this is what I should do, and look forward to your visit!"
After putting down the phone, Zhang Yi took a long time to wake up.
It's really hard to believe that my two musical knives were nominated for the Grammy Award.
If Ruolan knew about it, he would not have to worship himself to death. Thinking of this, he couldn't help laughing.
For her lifelong pursuit of music, the Grammy Award is probably her ultimate yearning, but unexpectedly, her boyfriend has the chance to win it.
It seems that no Chinese have ever won this award before, and they have not even been nominated.
I have made history and the first Chinese to be nominated for a Grammy Award. Haha, it’s very exciting to think about it.
After the CIA incident, even if Daly falls, the intensity of information exposure can be
It's not interesting if it's down, it's not interesting if it continues.
I am essentially a businessman. It doesn’t make much sense to participate in this kind of struggle in the dark corner, and it is also very dangerous.
What's more, after the Yugoslavia War, there is no matter that is related to the Celestial Empire at present, so there is no excitement if it continues.
Relying on intelligence, some of the opportunities we strive for are just small paths after all.
Making money to browse the technology tree is the kingly way to improve national strength.
The so-called strength of Sam's country is not only in terms of military strength, but in fact, technological strength is terrible.
In the Internet field, Sam's country is the only one who can't shake it.
In terms of computer and hardware, Tel is the dominant one. In terms of software, it is led by large software companies such as Microsoft and Oracle Radhat, which monopolizes the market to the point of despair.
Not to mention the high-level programming language, almost most of them are derived from Sam's Country.
(End of this chapter)
Chapter completed!