CN111309369A - Code management method and device based on Git code warehouse - Google Patents

Code management method and device based on Git code warehouse Download PDF

Info

Publication number
CN111309369A
CN111309369A CN201811519129.8A CN201811519129A CN111309369A CN 111309369 A CN111309369 A CN 111309369A CN 201811519129 A CN201811519129 A CN 201811519129A CN 111309369 A CN111309369 A CN 111309369A
Authority
CN
China
Prior art keywords
code
git
configuration file
warehouses
codes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811519129.8A
Other languages
Chinese (zh)
Other versions
CN111309369B (en
Inventor
崔俊
张歆明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201811519129.8A priority Critical patent/CN111309369B/en
Publication of CN111309369A publication Critical patent/CN111309369A/en
Application granted granted Critical
Publication of CN111309369B publication Critical patent/CN111309369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a code management method and a device based on a Git code warehouse, wherein the method comprises the following steps: responding to a code uploading instruction of a user from a local code warehouse, and searching a code management configuration file stored locally; reading the code management configuration file, and determining a plurality of target Git code warehouses arranged in the code management configuration file; and uploading the codes to be uploaded to the multiple target Git code warehouses in parallel. Based on the technical scheme provided by the invention, the codes can be uploaded to a plurality of different Git code warehouses in parallel when being uploaded, so that the code uploading efficiency is greatly improved, and the unified management of the codes is realized.

Description

Code management method and device based on Git code warehouse
Technical Field
The invention relates to the technical field of internet, in particular to a code management method and a code management device based on a Git code warehouse.
Background
Git is an open-source distributed version control system that can handle very small to very large project version management efficiently and at high speed. Git is an open source version control software developed by Linus Torvalds to help manage Linux kernel development.
With the increasing importance of the internet companies on the security of the private codes, the projects of general companies are managed by a uniform Git code warehouse of the companies, and the Git code warehouse only has access rights to a small part of online web regression machines and the pc machines of the employees. However, many times, the development of research and development teams requires various environments, which results in that the respective development machines of the research and development personnel cannot meet the development requirements. Therefore, different research and development teams respectively select appropriate servers (i.e. Git code warehouse) for development, but due to the machine access authority, the code developed in this way cannot be directly submitted to the Git code warehouse system of the company. Many times, a process of developing-packaging-sending remotely to the Git client machine-submitting code using a designated machine is required, which is cumbersome and error prone. Moreover, since different development teams use different Git code repositories, the same code also needs to be repeatedly submitted multiple times using the above-described process.
Disclosure of Invention
The present invention provides a code management method and apparatus based on a Git code repository to overcome the above problems or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a code management method based on a Git code repository, including:
responding to a code uploading instruction of a user from a local code warehouse, and searching a code management configuration file stored locally;
reading the code management configuration file, and determining a plurality of target Git code warehouses arranged in the code management configuration file;
and uploading the codes to be uploaded to the multiple target Git code warehouses in parallel.
Optionally, the method further includes:
in response to a user instruction for pulling down codes to the local code repository, searching the code management configuration file stored locally;
reading the code management configuration file, and determining a source Git code warehouse arranged in the code management configuration file;
and pulling down the code needed by the user from the source Git code warehouse to the local code warehouse.
Optionally, the method further includes:
reading the code management configuration file in advance, and determining the plurality of target Git code warehouses and the source Git code warehouse which are arranged in the code management configuration file;
establishing connections with the plurality of target Git code repositories and the source Git code repository.
Optionally, the method further includes:
detecting whether a user uploads codes to a Git code repository which does not belong to the target Git code repositories;
and when the fact that the user uploads the codes to the Git code warehouses which do not belong to the target Git code warehouses is detected, the codes uploaded by the user are uploaded to the target Git code warehouses at the same time.
Optionally, the code management configuration file is stored in the local code repository.
Optionally, the method further includes:
and modifying the plurality of target Git code warehouses and/or the source Git code warehouse in the code management configuration file in response to a modification instruction of a user.
According to another aspect of the present invention, there is also provided a code management apparatus based on a Git code repository, including:
the first management module is configured to respond to a code uploading instruction of a user from the local code warehouse and search a code management configuration file stored locally;
a first determining module, configured to read the code management configuration file and determine a plurality of target Git code warehouses set therein;
and the concurrent uploading module is configured to upload the codes to be uploaded to the target Git code warehouses in parallel.
Optionally, the apparatus further comprises:
the second management module is configured to respond to an instruction of a user for pulling down codes to the local code warehouse and search the code management configuration file stored locally;
the second determining module is configured to read the code management configuration file and determine a source Git code warehouse set in the code management configuration file;
a single source pull-down module configured to pull down user-desired code from the source Git code repository to the local code repository.
Optionally, the apparatus further comprises:
a third determining module, configured to read the code management configuration file in advance, and determine the target Git code warehouses and the source Git code warehouse which are set therein;
a connection establishing module configured to establish a connection with the plurality of target Git code repositories and the source Git code repository.
Optionally, the apparatus further comprises:
an anomaly detection module configured to detect whether a user uploads codes to a Git code repository that does not belong to the plurality of target Git code repositories;
and the abnormity correction module is configured to upload the codes uploaded by the user to the multiple target Git code warehouses simultaneously when detecting that the user uploads the codes to the Git code warehouses which do not belong to the multiple target Git code warehouses.
Optionally, the code management configuration file is stored in the local code repository.
Optionally, the apparatus further comprises:
and the configuration modification module is configured to respond to a modification instruction of a user to modify the target Git code warehouses and/or the source Git code warehouse in the code management configuration file.
According to another aspect of the present invention, there is also provided a computer storage medium storing computer program code which, when run on a computing device, causes the computing device to perform any of the above-described code management methods based on a Git code repository.
According to another aspect of the present invention, there is also provided a computing device comprising:
a processor;
a memory storing computer program code;
the computer program code, when executed by the processor, causes the computing device to perform any of the above-described methods of code management based on a Git code repository.
Based on the technical scheme provided by the invention, the codes can be uploaded to a plurality of different Git code warehouses in parallel when being uploaded, so that the code uploading efficiency is greatly improved, and the unified management of the codes is realized.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow diagram of a code management method based on a Git code repository, according to an embodiment of the present invention;
FIG. 2 is a flowchart of a code management method based on a Git code repository, according to a preferred embodiment of the present invention;
FIG. 3 is a diagram of code flow through a Git code repository in accordance with a preferred embodiment of the present invention;
FIG. 4 is a block diagram of the structure of a code management apparatus based on a Git code repository according to an example of the present invention;
FIG. 5 is a block diagram showing the construction of a code management apparatus based on a Git code repository according to a preferred embodiment of the present invention;
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It should be noted that the features of the embodiments and preferred embodiments of the present invention can be combined with each other without conflict.
FIG. 1 is a flowchart of a code management method based on a Git code repository, according to an embodiment of the present invention. As shown in fig. 1, a code management method based on a Git code repository according to an embodiment of the present invention includes:
step S102, responding to the instruction of uploading (PUSH) codes from a local code warehouse by a user, and searching for a code management configuration file stored locally;
step S104, reading the code management configuration file, and determining a plurality of target Git code warehouses arranged in the code management configuration file;
and step S106, uploading the codes to be uploaded to a plurality of target Git code warehouses in parallel.
The present embodiment provides a code management scheme that can submit code to multiple Git code repositories simultaneously. The scheme is provided with a code management configuration file, wherein a plurality of target Git code warehouses are configured, when codes are uploaded, the target Git code warehouses are determined by reading the code management configuration file, and the codes which a user wants to upload can be uploaded to the target Git code warehouses in parallel, so that the code uploading efficiency can be greatly improved, and the unified management of the codes can be realized. In specific implementation, the scheme can be implemented through a programming language such as java.
Fig. 2 is a flowchart of a code management method based on a Git code repository according to a preferred embodiment of the present invention. As shown in fig. 2, the code management method based on the Git code repository may further include:
step S202, responding to an instruction of a user to PULL down (PULL) a code to a local code warehouse, and searching a code management configuration file stored locally;
step S204, reading the code management configuration file, and determining a source Git code warehouse set in the code management configuration file;
step S206, pull down the code needed by the user from the source Git code repository to the local code repository.
The preferred embodiment provides a code management scheme that pulls down code from only one source Git code repository. The scheme further sets a source Git code repository in the code management configuration file. When the code is pulled down, the code management configuration file is read to determine the source Git code warehouse, and only the code which the user wants to obtain is pulled down from the source Git code warehouse. The scheme provided by the preferred embodiment of the present invention determines the principle of single pull-down and multi-party upload, as shown in fig. 3, can ensure the consistency of codes in various Git code warehouses to the greatest extent, and realizes unified management of codes.
In the above technical solution, the setting of the target Git code repository and the source Git code repository is completed based on the code management configuration file. Preferably, the code management method may further include: and modifying the plurality of target Git code warehouses and/or the source Git code warehouse in the code management configuration file in response to a modification instruction of the user.
In order to facilitate the use of different users and meet different development requirements of one user, a plurality of target Git code warehouses and source Git code warehouses in the code management configuration file can be modified, and the user can modify the target Git code warehouses and the source Git code warehouses through corresponding modification instructions, so that the method can adapt to different development requirements. Preferably, the code management configuration file may be stored in a local code repository, i.e. a location where the user stores the local code. The local code repository may be a Git code repository or other types of code repositories, and the present application is not limited specifically.
In addition, in the above scheme, there are various specific implementations of the Git code repository, such as Gitlab, bitstruct, gots, and the like, and the present application is not limited specifically.
For the above technical solution, when a user uploads codes to a target Git code repository or pulls down codes from a source Git code repository, a connection between the user and the target Git code repository needs to be established locally, and the connection may be temporarily established or a long connection. Preferably, the code management method may further include: reading the code management configuration file in advance, determining a plurality of target Git code warehouses and source Git code warehouses arranged in the code management configuration file, and establishing connection with the target Git code warehouses and the source Git code warehouses. The present application preferably uses a method of pre-establishing a long connection, which is more efficient.
Furthermore, an error correction mechanism can be further added based on the above technical solution. Preferably, the code management method may further include:
detecting whether a user uploads codes to a Git code warehouse which does not belong to the target Git code warehouses;
and when the fact that the user uploads the codes to the Git code warehouses which do not belong to the target Git code warehouses is detected, the codes uploaded by the user are uploaded to the target Git code warehouses at the same time.
After the above-described code management method is locally adopted, it may happen that an individual user does not know or is unwilling to use this method, and may directly upload codes by other methods. For such a situation, the scheme provided in the preferred embodiment monitors the operation of uploading the codes by the user, and when it is detected that the user uploads the codes to the Git code warehouse not belonging to the target Git code warehouses, the scheme uploads the codes uploaded by the user to the target Git code warehouses at the same time. That is to say, even if the wrong uploading operation occurs, the intelligent correction can be realized, and the smooth completion of the multi-terminal synchronization is facilitated.
Corresponding to the code management method, the embodiment of the invention also provides a code management device based on the Git code warehouse. Fig. 4 is a block diagram showing the construction of a code management apparatus based on a Git code repository according to an example of the present invention. As shown in fig. 4, the code management apparatus based on the Git code repository according to the embodiment of the present invention includes:
a first management module 402 configured to search a code management configuration file stored locally in response to a user instruction to upload a code from a local code repository;
a first determining module 404 configured to read the code management configuration file, and determine a plurality of target Git code repositories set therein;
and a concurrent upload module 406 configured to upload code to be uploaded to a plurality of target Git code repositories in parallel.
Based on the technical scheme provided by the embodiment, the codes can be uploaded to a plurality of different Git code warehouses in parallel when being uploaded, so that the code uploading efficiency is greatly improved, and the unified management of the codes is realized.
Optionally, as shown in fig. 5, the apparatus further includes:
the second management module 408 is configured to respond to an instruction of pulling down the code to the local code warehouse by a user, and search a code management configuration file stored locally;
a second determining module 410 configured to read the code management configuration file and determine a source Git code repository set therein;
a single source pull-down module 412 configured to pull down the user-desired code from the source Git code repository to the local code repository.
Optionally, as shown in fig. 5, the apparatus further includes:
a third determining module 414 configured to read the code management configuration file in advance, and determine a plurality of target Git code warehouses and source Git code warehouses set therein;
a connection establishing module 416 configured to establish connections with the plurality of target Git code repositories and the source Git code repository.
Optionally, as shown in fig. 5, the apparatus further includes:
an anomaly detection module 418 configured to detect whether a user uploads codes to a Git code repository that does not belong to the plurality of target Git code repositories;
and the abnormity correction module 420 is configured to upload the codes uploaded by the users to the target Git code warehouse at the same time when detecting that the users upload the codes to the Git code warehouse which does not belong to the target Git code warehouses.
Optionally, the code management configuration file is stored in a local code repository.
Optionally, as shown in fig. 5, the apparatus further includes:
and a configuration modification module 422 configured to modify the plurality of target Git code repositories and/or the source Git code repository in the code management configuration file in response to a modification instruction of the user.
Based on the same inventive concept, embodiments of the present invention further provide a computer storage medium, where computer program codes are stored, and when the computer program codes run on a computing device, the computing device is caused to execute any code management method based on a Git code repository.
Based on the same inventive concept, an embodiment of the present invention further provides a computing device, including:
a processor;
a memory storing computer program code;
the computer program code, when executed by the processor, causes the computing device to perform any of the above-described methods of code management based on a Git code repository.
Based on the technical scheme provided by the implementation of the invention, a developer can configure a plurality of remote Git code warehouse addresses for a certain code directory (local code warehouse) of a specified machine. Thus, the code under this catalog has the effect of pulling down from a source Git code repository and then uploading to multiple target Git code repositories. Thus, the developer can build a local code warehouse with free access authority. The machine can then apply for a Git code repository with strict access rights and can access its own Git code repository. The machine is used as a development machine, and the codes can be simultaneously sent to a plurality of target Git code warehouses after development, so that the efficiency and the quality of code submission can be greatly improved, and the machines with different purposes can access the codes with the same content.
In addition, the functional units in the embodiments of the present invention may be physically independent of each other, two or more functional units may be integrated together, or all the functional units may be integrated in one processing unit. The integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.
Those of ordinary skill in the art will understand that: the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computing device (e.g., a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: u disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program code.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a computing device, e.g., a personal computer, a server, or a network device) associated with program instructions, which may be stored in a computer-readable storage medium, and when the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the method according to the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.
According to an aspect of the present invention, a1. a code management method based on a Git code repository is provided, including:
responding to a code uploading instruction of a user from a local code warehouse, and searching a code management configuration file stored locally;
reading the code management configuration file, and determining a plurality of target Git code warehouses arranged in the code management configuration file;
and uploading the codes to be uploaded to the multiple target Git code warehouses in parallel.
A2. The method according to A1, further comprising:
in response to a user instruction for pulling down codes to the local code repository, searching the code management configuration file stored locally;
reading the code management configuration file, and determining a source Git code warehouse arranged in the code management configuration file;
and pulling down the code needed by the user from the source Git code warehouse to the local code warehouse.
A3. The method according to A2, further comprising:
reading the code management configuration file in advance, and determining the plurality of target Git code warehouses and the source Git code warehouse which are arranged in the code management configuration file;
establishing connections with the plurality of target Git code repositories and the source Git code repository.
A4. The method of any one of a1-A3, further comprising:
detecting whether a user uploads codes to a Git code repository which does not belong to the target Git code repositories;
and when the fact that the user uploads the codes to the Git code warehouses which do not belong to the target Git code warehouses is detected, the codes uploaded by the user are uploaded to the target Git code warehouses at the same time.
A5. The method of any of A1-A3, wherein the code management profile is stored in the local code repository.
A6. The method of any one of a1-A3, further comprising:
and modifying the plurality of target Git code warehouses and/or the source Git code warehouse in the code management configuration file in response to a modification instruction of a user.
There is also provided B7. a code management apparatus based on a Git code repository, according to another aspect of the present invention, including:
the first management module is configured to respond to a code uploading instruction of a user from the local code warehouse and search a code management configuration file stored locally;
a first determining module, configured to read the code management configuration file and determine a plurality of target Git code warehouses set therein;
and the concurrent uploading module is configured to upload the codes to be uploaded to the target Git code warehouses in parallel.
B8. The apparatus of B7, further comprising:
the second management module is configured to respond to an instruction of a user for pulling down codes to the local code warehouse and search the code management configuration file stored locally;
the second determining module is configured to read the code management configuration file and determine a source Git code warehouse set in the code management configuration file;
a single source pull-down module configured to pull down user-desired code from the source Git code repository to the local code repository.
B9. The apparatus of B8, further comprising:
a third determining module, configured to read the code management configuration file in advance, and determine the target Git code warehouses and the source Git code warehouse which are set therein;
a connection establishing module configured to establish a connection with the plurality of target Git code repositories and the source Git code repository.
B10. The apparatus of any one of B7-B9, further comprising:
an anomaly detection module configured to detect whether a user uploads codes to a Git code repository that does not belong to the plurality of target Git code repositories;
and the abnormity correction module is configured to upload the codes uploaded by the user to the multiple target Git code warehouses simultaneously when detecting that the user uploads the codes to the Git code warehouses which do not belong to the multiple target Git code warehouses.
B11. The apparatus of any of B7-B9, wherein the code management profile is stored in the local code repository.
B12. The apparatus of any one of B7-B9, further comprising:
and the configuration modification module is configured to respond to a modification instruction of a user to modify the target Git code warehouses and/or the source Git code warehouse in the code management configuration file.
In accordance with another aspect of the present invention, there is also provided c13 a computer storage medium storing computer program code which, when run on a computing device, causes the computing device to perform a method of code management based on a Git code repository of any one of a1-a 6.
According to another aspect of the present invention, there is also provided a computing device, comprising:
a processor;
a memory storing computer program code;
the computer program code, when executed by the processor, causes the computing device to perform any of the Git code repository-based code management methods of a1-a 6.

Claims (10)

1. A code management method based on a Git code warehouse comprises the following steps:
responding to a code uploading instruction of a user from a local code warehouse, and searching a code management configuration file stored locally;
reading the code management configuration file, and determining a plurality of target Git code warehouses arranged in the code management configuration file;
and uploading the codes to be uploaded to the multiple target Git code warehouses in parallel.
2. The method of claim 1, further comprising:
in response to a user instruction for pulling down codes to the local code repository, searching the code management configuration file stored locally;
reading the code management configuration file, and determining a source Git code warehouse arranged in the code management configuration file;
and pulling down the code needed by the user from the source Git code warehouse to the local code warehouse.
3. The method of claim 2, further comprising:
reading the code management configuration file in advance, and determining the plurality of target Git code warehouses and the source Git code warehouse which are arranged in the code management configuration file;
establishing connections with the plurality of target Git code repositories and the source Git code repository.
4. The method according to any one of claims 1-3, further comprising:
detecting whether a user uploads codes to a Git code repository which does not belong to the target Git code repositories;
and when the fact that the user uploads the codes to the Git code warehouses which do not belong to the target Git code warehouses is detected, the codes uploaded by the user are uploaded to the target Git code warehouses at the same time.
5. A code management apparatus based on a Git code repository, comprising:
the first management module is configured to respond to a code uploading instruction of a user from the local code warehouse and search a code management configuration file stored locally;
a first determining module, configured to read the code management configuration file and determine a plurality of target Git code warehouses set therein;
and the concurrent uploading module is configured to upload the codes to be uploaded to the target Git code warehouses in parallel.
6. The apparatus of claim 5, further comprising:
the second management module is configured to respond to an instruction of a user for pulling down codes to the local code warehouse and search the code management configuration file stored locally;
the second determining module is configured to read the code management configuration file and determine a source Git code warehouse set in the code management configuration file;
a single source pull-down module configured to pull down user-desired code from the source Git code repository to the local code repository.
7. The apparatus of claim 6, further comprising:
a third determining module, configured to read the code management configuration file in advance, and determine the target Git code warehouses and the source Git code warehouse which are set therein;
a connection establishing module configured to establish a connection with the plurality of target Git code repositories and the source Git code repository.
8. The apparatus of any of claims 5-7, further comprising:
an anomaly detection module configured to detect whether a user uploads codes to a Git code repository that does not belong to the plurality of target Git code repositories;
and the abnormity correction module is configured to upload the codes uploaded by the user to the multiple target Git code warehouses simultaneously when detecting that the user uploads the codes to the Git code warehouses which do not belong to the multiple target Git code warehouses.
9. A computer storage medium storing computer program code which, when run on a computing device, causes the computing device to perform the method of code management based on a Git code repository of any one of claims 1-4.
10. A computing device, comprising:
a processor;
a memory storing computer program code;
the computer program code, when executed by the processor, causes the computing device to perform the method for code management based on a Git code repository of any one of claims 1-4.
CN201811519129.8A 2018-12-12 2018-12-12 Code management method and device based on Git code warehouse Active CN111309369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811519129.8A CN111309369B (en) 2018-12-12 2018-12-12 Code management method and device based on Git code warehouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811519129.8A CN111309369B (en) 2018-12-12 2018-12-12 Code management method and device based on Git code warehouse

Publications (2)

Publication Number Publication Date
CN111309369A true CN111309369A (en) 2020-06-19
CN111309369B CN111309369B (en) 2024-03-29

Family

ID=71150507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811519129.8A Active CN111309369B (en) 2018-12-12 2018-12-12 Code management method and device based on Git code warehouse

Country Status (1)

Country Link
CN (1) CN111309369B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897782A (en) * 2020-08-19 2020-11-06 百度时代网络技术(北京)有限公司 File control method, device, equipment and storage medium
CN112732331A (en) * 2021-01-07 2021-04-30 苏州浪潮智能科技有限公司 Code history record recovery method, system and medium
CN114416117A (en) * 2022-01-27 2022-04-29 中国铁道科学研究院集团有限公司电子计算技术研究所 Code template management method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103985003A (en) * 2013-12-25 2014-08-13 北京安码科技有限公司 Novel method and apparatus for supporting automatic monitoring of software engineering quality
CN105760167A (en) * 2016-02-23 2016-07-13 浪潮软件集团有限公司 Docker-based continuous integration method
CN105893502A (en) * 2016-03-29 2016-08-24 广州酷狗计算机科技有限公司 Code synchronization method and device
CN106326372A (en) * 2016-08-12 2017-01-11 北京创新乐知信息技术有限公司 Git central warehouse management system and control method
CN107729031A (en) * 2017-08-25 2018-02-23 上海壹账通金融科技有限公司 Code administration method, apparatus, computer equipment and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103985003A (en) * 2013-12-25 2014-08-13 北京安码科技有限公司 Novel method and apparatus for supporting automatic monitoring of software engineering quality
CN105760167A (en) * 2016-02-23 2016-07-13 浪潮软件集团有限公司 Docker-based continuous integration method
CN105893502A (en) * 2016-03-29 2016-08-24 广州酷狗计算机科技有限公司 Code synchronization method and device
CN106326372A (en) * 2016-08-12 2017-01-11 北京创新乐知信息技术有限公司 Git central warehouse management system and control method
CN107729031A (en) * 2017-08-25 2018-02-23 上海壹账通金融科技有限公司 Code administration method, apparatus, computer equipment and computer-readable recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
铁芒箕: ""git多个远程仓库"", pages 1 - 3, Retrieved from the Internet <URL:《https://developer.aliyun.com/article/612489》> *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897782A (en) * 2020-08-19 2020-11-06 百度时代网络技术(北京)有限公司 File control method, device, equipment and storage medium
CN111897782B (en) * 2020-08-19 2024-04-26 百度时代网络技术(北京)有限公司 File control method, device, equipment and storage medium
CN112732331A (en) * 2021-01-07 2021-04-30 苏州浪潮智能科技有限公司 Code history record recovery method, system and medium
CN112732331B (en) * 2021-01-07 2022-07-12 苏州浪潮智能科技有限公司 Code history record recovery method, system and medium
CN114416117A (en) * 2022-01-27 2022-04-29 中国铁道科学研究院集团有限公司电子计算技术研究所 Code template management method and system
CN114416117B (en) * 2022-01-27 2023-05-09 中国铁道科学研究院集团有限公司电子计算技术研究所 Code template management method and system

Also Published As

Publication number Publication date
CN111309369B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
CN106572173B (en) Configuration information updating method, device and system
US20160124823A1 (en) Log analytics for problem diagnosis
CN111309369B (en) Code management method and device based on Git code warehouse
Kakadia Apache Mesos Essentials
US20170161061A1 (en) Custom code migration suggestion system based on actual change references
US20180165258A1 (en) Methods for improved auditing of web sites and devices thereof
US20140215312A1 (en) Responsive Layout Based on Behavioral Intent in a Multi-Tenant Platform-as-a-Service (PaaS) System
US10901700B2 (en) Automatic generation of container image in a runtime environment
US20140129698A1 (en) Method and system for event notification
CN103490941A (en) Real-time monitoring on-line configuration method in cloud computing environment
JP2009169860A (en) Computer system for managing configuration item, and method and computer program therefor
US10809681B2 (en) Data collection for assistance in an industrial automation environment
JP6094593B2 (en) Information system construction device, information system construction method, and information system construction program
WO2015027844A1 (en) Method to generate dynamic customized context-sensitive help
US20200074001A1 (en) User Interface for Contextual Search
WO2018116460A1 (en) Continuous integration system and resource control method
US10169213B2 (en) Processing of an application and a corresponding test file in a content repository
US11803429B2 (en) Managing alert messages for applications and access permissions
US11329930B2 (en) Generating scenarios for automated execution of resources in a cloud computing environment
CN110221910B (en) Method and apparatus for performing MPI jobs
CN109151021B (en) Distributed storage system file lock characteristic testing method and device
US9978070B1 (en) Dynamic customer relationship management while maintaining customer privacy
US10713278B2 (en) Flexible configuration of offline synchronization scope
US10353620B2 (en) Lifecycle management of memory devices
JP2021179986A (en) Method of detecting switching of plc asset

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant