File merging method and system based on git source code confliction
A source code and file technology, applied in the field of file merging method and system based on git source code conflicts, to achieve the effect of strong operability and conflict avoidance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] In order to describe the technical content, achieved goals and effects of the present invention in detail, the following descriptions will be made in conjunction with the embodiments and accompanying drawings.
[0022] The most critical idea of the present invention is: realize automatic merging by compiling and checking code.
[0023] Please refer to figure 1 , Embodiment 1 of the present invention provides a method for merging files based on git source code conflicts, comprising the following steps:
[0024] S1: Respectively acquire modification information on the first file to generate a second file and a third file;
[0025] S2: Merge the above three files to generate a conflict file;
[0026] S3: referring to the first file, detecting the new line in the conflict file, and deleting the merge mark;
[0027] S4: Compiling and checking the conflicting file to obtain a fourth file.
[0028] Different from the prior art, the present invention performs automatic me...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 