For understanding of Git

Git is a distributed version control system open source, can be effective, high-speed processing from very small to very large project version management. Git is Linus Torvalds To help manage Linux kernel development and the development of an open source version control software.

Git has the following features:

1, a complete clone Git repository (including code and version information) from the server to the standalone.

2, on their own machines based on different development purposes, create a branch, modify the code.

3, on a single machine to submit code to create their own branch.

4, combined on a single branch.

5, the latest version of the server code fetch down, and then merged with their main branch.

6, generates a patch (Patch), the developer sent to the main patch.

7, see the main developer feedback, if developers find the main conflict (can work together to resolve the conflict between them) between two general developer, will require them to resolve the conflict before submitting by one person. If the primary developers themselves, or there is no conflict, on the adoption.

8, submitting patches again the main developer after the developer between general method of resolving conflicts between developers can use the pull command to resolve the conflict, complete resolution of the conflict.

9, view the message or view the general developer by other means submission status.

10, patched, conflict resolution (can be themselves, it may also require re-submit later resolved between developers, if it is an open source project, but also useful to determine which patches, which do not).

11, to submit the results to the public server, and then notify all developers.

Git's advantages: suitable for distributed development, emphasis on the individual. Public pressure on the server and the amount of data that will not be too large. Fast and flexible. You can easily resolve any conflict between two developers. Work offline.

Git drawback: the less information. Learning cycle is relatively long. Unconventional thinking. Poor security codes, once the developer down the entire library clones can be completely open all the code and version information.

Guess you like

Origin www.cnblogs.com/1716838934-JJ/p/11574098.html
Git