In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Today, I will talk to you about whether the operation commands of Ma Yun and Github are the same. Many people may not know much about it. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
Mayun and Github are based on Git for version control and warehouse management, so the operation commands of both are the same. Git, an open source distributed version control system, can effectively and high-speed deal with project version management from very small to very large.
Functional characteristics of Git
From the general developer's point of view, git has the following features:
1. Clone the complete Git repository (including code and version information) from the server to a stand-alone machine.
2. Create branches and modify code on your own machine according to different development purposes.
3. Submit the code on the branch created by yourself on the stand-alone.
4. Merge branches on a single machine.
5. Fetch the latest version of the code on the server and merge it with your main branch.
6. Generate a patch (patch) and send it to the main developer.
7. According to the feedback from the master developer, if the master developer finds that there is a conflict between two general developers (conflicts that they can work together to resolve), they will be asked to resolve the conflict first, and then submitted by one of them. If the main developer can solve it on his own, or if there is no conflict, pass.
8. General methods for resolving conflicts among developers. Developers can use the pull command to resolve conflicts, and then submit patches to the master developer after resolving the conflicts.
From the point of view of the master developer (assuming that the master developer does not need to develop code), git has the following features:
1. Check email or other ways to check the submission status of general developers.
2. Patch and resolve the conflict (you can resolve it yourself, or you can ask developers to resolve it and resubmit it later. If it is an open source project, you have to decide which patches are useful and which are not).
3. Submit the results to the public server and notify all developers.
Advantages:
Suitable for distributed development, emphasizing individuals.
The pressure on public servers and the amount of data will not be too large.
Fast and flexible.
Conflicts can be easily resolved between any two developers.
Work offline.
Disadvantages:
There is little information (at least in Chinese).
The learning cycle is relatively long.
It's not in line with conventional thinking.
Code confidentiality is poor, once developers have cloned the entire library, they can fully disclose all code and version information.
After reading the above, do you have any further understanding of the same operation commands of Ma Yun and Github? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.