Chapter 178 GitHub Source Code Repository
Version control tools are mainly used in the field of large-scale software development.
Before the advent of GIT distributed source control tools, version control tools were mainly centralized version control tools, such as the famous CVS, such as SVN, which is used by many large enterprises.
Each programmer uses the tool to establish a working directory tree on the local workstation, and the content of the directory is all the code in the repository, and after modifying or completing the code, it is submitted to the remote code repository.
However, this centralized management approach has great limitations, because each local directory tree is the latest code, but if you want to query the history of changes, you must compare it with the code base on the server.
In this way, it is necessary to use the network and keep the network online forever to do so. In addition, the biggest problem is that there is only one major version, and it cannot be modified at will, which limits the efficiency of software development.
Git, on the other hand, does not need to connect to the remote repository or network when you submit code to the repository after grabbing the repository, and all the records are stored in the directory of the local computer.
During synchronization, connect to the network through the h operation of git, upload the code to the main repository, automatically compare the changes, and generate a patch package containing a small number of modifications, the patch package is tested by the project maintainer, and then updated to the main repository after there are no problems.
In the previous life, the GIT distributed source control system was created by the inventor of the Lux system, Linnaster Weather, 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 every day there are thousands of degree members, to the Lux team A large number of source code updates, purely manual, the workload is too large, and the efficiency is too low.
As a result, in 2005, Linnastervaz created the GIT version control system to solve the version control problem of the Lux system.
The launch of a distributed management system is also Zhang Yi's own need.
There are more and more types of software in micro-hardware companies, and the code base is getting bigger and bigger, and he himself has to go abroad frequently, and it is very troublesome to update the code and fix bugs.
If programmers want to communicate with each other, they can only communicate by phone or email, and the code submitted by programmers in the Celestial Empire can only be seen through peer-to-peer communication in Sam's Country, taking into account the time difference, taking into account the unfavorable factors such as the network environment, which will lead to extremely low communication efficiency. If you add European programmers, it's a nightmare.
The advent of git has given a solution to the problem of distributed source control.
GitHub, on the other hand, is like a large three-dimensional repository that brings together all the companies that have code storage and management needs.
For individual users, the GitHub repository is completely free, but requires you to open up your own source code.
In the beginning, there was something original
Programmers may feel that they are at a loss by making the source code public, only to find out that things are far from being defined so simply.
After uploading your source code to the website, all programmers can see it, and some interested programmers will test your source code, find some bugs, or propose some improvements.
The power of the number of people is vividly reflected in this moment. Through the collective efforts of many programmers, even the garbage source code will be turned into treasure and become glittering gold.
The process of modification is the process of collision of programming ideas, and in the continuous exchange, everyone will soon find that their programming ability has improved by leaps and bounds, and the growth rate is far beyond imagination.
The circle of programmers is relatively niche, but the horizontal connection is very extensive, and the technical exchanges are more frequent.
Language, by contrast, seems to be unsettling, after all, a new type of high-level programming language, if it wants to quickly form a trend, it takes a period of accumulation.
At the end of November, Zhang Yi, who was quietly writing code in the company, suddenly received an international call, and looked at the phone code displayed on it, which was Sam's country.
I don't know who will call, I picked up the phone, and the other party said in very standard American English, "Mr. Zhang Yi, hello, I'm Hans from Sam's Country Recording Society, on behalf of Sam's Country Recording Society, I would like to congratulate you on your nomination for the 2000 Grammy Awards, and I would like to invite you to attend the Grammy Awards ceremony held at the Staples Center in Los Angeles on February 21, 2001, I wonder if you have time to attend?"
When Zhang Yi heard this, he couldn't believe his ears, so he deliberately moved the microphone a little farther away and pinched his thigh, which hurt very much, it didn't seem to be a dream.
The person on the other side was silent, waiting for his answer.
"I am very honored to be nominated for a Grammy Award by the Recording Society, and I am very excited that I will be here, thank you very much Mr. Hans for your notice. ”
"Mr. Zhang, you're welcome, this is what I should do, looking forward to your visit!"
Putting down the phone, Zhang Yi slowed down for a long time before he woke up.
I can't believe my ears when I can be nominated for a Grammy Award for my second knife in music.
If Ruolan knew about it, he wouldn't have to worship himself to death, thinking of this, he couldn't help laughing.
For her, who has made music her lifelong pursuit, the Grammy Award is probably her ultimate yearning, but she didn't expect her boyfriend to have a chance to win it.
It seems that no Chinese has ever won this award before, not even nominated for it.
I have made history, the first Chinese to be nominated for a Grammy Award, hehe, it's quite exciting to think about.
The CIA's matter, after the fall of Daley, is over, and the strength of the intelligence exposure is okay
It's lowered, and it's not interesting to go on again.
I am still a businessman at heart, and it doesn't make much sense to get too involved in this kind of struggle in the dark corners, and it's very dangerous.
What's more, after the Yugoslav War, there is currently no matter that has a direct bearing on the Celestial Empire, and there is no energy in continuing to do it.
Relying on intelligence, some of the opportunities to be fought for, after all, are just a trail.
Making money and farming technology trees is the king way to improve national strength.
The so-called strength of Sam Country, in addition to military strength, in fact, scientific and technological strength is terrifying.
In the field of the Internet, Sam Country is the only one and cannot be shaken at all.
In the field of computers and hardware, Tel dominates. In terms of software, large software companies such as Microsoft, Oracle, and Radhat are the leaders, and these software companies have monopolized to the point of despair.
Not to mention the high-level programming languages, almost most of them come from Sam's Country.
(End of chapter)
(Education 123 Literature Network)