In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Today, the editor will share with you the relevant knowledge points about the features of Git, which are detailed in content and clear in logic. I believe most people still know too much about this, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.
Git is a free, open source distributed version control system for agile and efficient handling of any project, small or large. The pronunciation of Git is / g roomt /.
Git is an open source distributed version control system that can effectively and quickly handle project version management from very small to very large. Git is an open source version control software developed by Linus Torvalds to help manage Linux kernel development.
Torvalds started developing Git as a transitional alternative to BitKeeper, which had previously been the main source code tool used by Linux kernel developers around the world. Some people in the open source community felt that the BitKeeper license was not suitable for the work of the open source community, so Torvalds decided to study a version control system with more flexible licenses. Although Git was originally developed to assist in the Linux kernel development process, we have found that Git is also used in many other free software projects. For example, many Freedesktop projects have been migrated to Git.
Features:
The biggest difference between distributed and centralized is that developers can submit it locally, and each developer copies a complete Git repository on the local machine through git clone.
The following figure shows the classic git development process.
Features of Git:
From the general developer's point of view, git has the following features:
Clone the complete Git repository (including code and version information) from the server to a stand-alone machine.
Create branches and modify code on your own machine according to different development purposes.
Submit the code on the branch you created on the stand-alone.
Merge branches on a single machine.
Fetch the latest version of the code on the server and merge it with your own main branch.
Generate a patch (patch) and send the patch to the main developer.
Looking at the feedback from the main developer, if the main 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.
In general, developers can use the pull command to resolve conflicts between developers, and then submit patches to the main 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:
Check email or other ways to check the submission status of general developers.
Patch and resolve the conflict (you can resolve it yourself, or you can ask developers to resolve it and resubmit it later, and if it's an open source project, decide which patches are useful and which don't).
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.
These are all the contents of the article "what are the functional features of Git?" Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.
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.