CN109992294A - A kind of method and device that remote branch is disposably switched to local branch - Google Patents

A kind of method and device that remote branch is disposably switched to local branch Download PDF

Info

Publication number
CN109992294A
CN109992294A CN201810002455.5A CN201810002455A CN109992294A CN 109992294 A CN109992294 A CN 109992294A CN 201810002455 A CN201810002455 A CN 201810002455A CN 109992294 A CN109992294 A CN 109992294A
Authority
CN
China
Prior art keywords
branch
information
remote
switching
cache
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.)
Pending
Application number
CN201810002455.5A
Other languages
Chinese (zh)
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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201810002455.5A priority Critical patent/CN109992294A/en
Publication of CN109992294A publication Critical patent/CN109992294A/en
Pending legal-status Critical Current

Links

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)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of method and device that remote branch is disposably switched to local branch, which comprises S1 obtains the routing information for needing to carry out the warehouse target git of branch's switching;S2 judges then to create CACHE DIRECTORY if it does not exist with the presence or absence of CACHE DIRECTORY under the routing information;All remote branch information in the warehouse the target git are output in the CACHE DIRECTORY by S3, generate the cache file for storing all remote branch information;S4, reads the cache file line by line, and is switched to the operation of local branch to reading remote branch information obtained every time and executing.The present invention can efficiently solve the problem for needing development efficiency brought by multiple manual switching remote branch low, cumbersome in development process, greatly improve development efficiency and reduce manpower and material resources cost.

Description

Method and device for switching remote branch into local branch at one time
Technical Field
The invention relates to the field of software development, in particular to a method and a device for switching a remote branch into a local branch at one time.
Background
Git is the most advanced distributed version control system in the world at present, and is often used for hosting codes in the development process of Android clients. Different items are under different branches in the process that the code is hosted by git, and a remote git branch needs to be switched into a local branch firstly before further switching operation can be carried out on the branch locally.
With the complexity of codes becoming higher and higher, the number of branches will become more and more, and in order to facilitate development, developers need to switch all remote branches to branches at the cost.
Disclosure of Invention
The present invention provides a method and apparatus for switching a remote branch to a local branch at one time that overcomes, or at least partially solves, the above-mentioned problems.
According to one aspect of the invention, a method for switching a remote branch into a local branch at one time is provided, which comprises the following steps:
s1, acquiring the path information of the target git warehouse needing branch switching;
s2, judging whether a cache directory exists under the path information, if not, creating the cache directory;
s3, outputting all the remote branch information in the target git warehouse to the cache directory, and generating a cache file storing all the remote branch information;
and S4, reading the cache file line by line, and executing the operation of switching the remote branch information obtained by each reading into a local branch.
Wherein the step S1 further includes:
judging whether the path information of the target git warehouse needing branch switching is transmitted as an input parameter or not;
if the route information is not transmitted, prompting the user to input the route information of the target git warehouse, and outputting the route information input by the user; or,
and if the transmission is carried out, outputting the path information.
Wherein the step S2 further includes:
if a cache directory exists in the path information, deleting the cache directory and creating a new cache directory, and accordingly, step S3 further includes:
and outputting all the remote branch information of the target git warehouse to the new cache directory to generate a cache file storing all the remote branch information.
Wherein the step S3 further includes:
calling a cd command to switch the current path to the path information of the target git warehouse;
all remote branch information in the target git repository is exported to the cache files of the cache directory via gitbranch-a.
Wherein the step S4 further includes:
calling a cat command to output all contents in the cache file and assemble the contents into a set;
and traversing the set through a for command, assigning the obtained data to a predefined variable and calling a git checkout command to perform branch switching operation on the predefined variable in each traversal process.
Wherein, after the step S4, the method further comprises:
and calling a git checkoutmaster command to restore the current local branch into a local master branch, and clearing the cache directory by executing an rm command.
According to another aspect of the present invention, there is provided an apparatus for switching a remote branch to a local branch at a time, comprising:
the path acquisition module is used for acquiring path information of a target git warehouse which needs to be subjected to branch switching;
the cache creating module is used for judging whether a cache directory exists under the path information or not, and if not, the cache directory is created;
a branch output module, configured to output all remote branch information in the target git repository to the cache directory, and generate a cache file in which all the remote branch information is stored;
and the branch switching module is used for reading the cache file line by line and executing the operation of switching the remote branch information obtained by reading each time into a local branch.
Wherein, still include:
and the branch restoring module is used for calling a git checkpoint master command to restore the current local branch into a local master branch and cleaning the cache directory by executing an rm command.
According to another aspect of the present invention, there is provided an apparatus for switching a remote branch to a local branch at a time, comprising a memory, a processor, and a bus,
the processor and the memory complete mutual communication through the bus;
the memory stores program instructions executable by the processor, which invokes the program instructions in the memory to perform the method as described above.
According to yet another aspect of the invention, there is provided a non-transitory computer readable storage medium storing computer instructions which cause the computer to perform the method as described above.
The invention provides a method and a device for switching a remote branch into a local branch at one time, which can effectively solve the problems of low development efficiency and complexity caused by the need of manually switching the remote branch for many times in the development process, greatly improve the development efficiency and reduce the cost of manpower and material resources.
Drawings
Fig. 1 is a flowchart illustrating a method for switching a remote branch to a local branch at one time according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus for switching a remote branch to a local branch at one time according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for switching a remote branch to a local branch at one time according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a schematic flow chart of a method for switching a remote branch to a local branch at one time according to an embodiment of the present invention includes:
s1, acquiring the path information of the target git warehouse needing branch switching;
s2, judging whether a cache directory exists under the path information, if not, creating the cache directory;
s3, outputting all the remote branch information in the target git warehouse to the cache directory, and generating a cache file storing all the remote branch information;
and S4, reading the cache file line by line, and executing the operation of switching the remote branch information obtained by each reading into a local branch.
Specifically, the embodiment of the present invention provides a method for automatically switching all remote branches at one time, and it is necessary to know which git warehouse needs to be subjected to branch switching before switching, so that, first, in S1, the path information of the target git warehouse that needs to be subjected to branch switching is obtained. After the path information of the target git warehouse is obtained, all the remote branch information under the path information can be checked, in order to switch all the remote branches at one time, a cache directory needs to be established for storing all the remote branch information under the path information, and the subsequent operation is convenient, therefore, in S2, whether the cache directory already exists under the path information is firstly judged, if not, a cache directory is created for storing all the remote branch information in the git warehouse. Then, in S3, all the remote branch information in the target git repository is stored in the created cache directory, and after the storage is completed, a cache file storing all the remote branch information in the target git repository is generated. That is, all the remote branch information in the target git repository has been cached in the cache file. Finally, in step S4, the content in the cache file is read line by line, each line represents one piece of remote branch information, and a branch switching operation is performed once every time one piece of remote branch information is read, so as to switch the remote branch to a local branch. When the cache file is read, the switching of all remote branches in the whole target git warehouse to local branches is completed.
The method for switching the remote branch into the local branch at one time provided by the embodiment of the invention can effectively solve the problems of low development efficiency and complexity caused by the need of manually switching the remote branch for many times in the development process, greatly improve the development efficiency and reduce the cost of manpower and material resources.
Based on the above embodiment, the step S1 further includes:
judging whether the path information of the target git warehouse needing branch switching is transmitted as an input parameter or not;
if the route information is not transmitted, prompting the user to input the route information of the target git warehouse, and outputting the route information input by the user; or,
and if the transmission is carried out, outputting the path information.
Specifically, the specific implementation form of the whole method for switching the remote branch into the local branch at one time may be a script file, when the script file is executed, the path information of the target git warehouse which needs to be subjected to branch switching should be transmitted to the script file as an input parameter, and if the path information of the target git warehouse does not exist, the script fails to be executed. Therefore, the step S1 of acquiring the path information of the target git warehouse for which branch switching is required further includes: firstly, judging whether the path information of a target git warehouse needing branch switching is transmitted as an input parameter; if the path information is transmitted, the path information is output, so that a developer can clearly check the path information of the target git warehouse to be processed in the code execution period; if the path information of the target git repository is not transferred in, the output prompt statement prompts the user to input the path information of the target git repository. Here, the user refers to both a developer who needs to switch the remote branch to the local branch and a developer who uses the script function. The above steps may be implemented by:
wherein $1 represents the input parameter information, i.e. the path information of the target git warehouse, if the statement is used for judging whether the path parameter of the git warehouse is input, if the path information of the warehouse is not input, a statement 'pleaselnputyaupath' is output to prompt the user to input the path parameter information of the warehouse. Otherwise, the warehouse path information is output, so that a developer can clearly check the warehouse path information to be processed in the code execution period.
Based on the above embodiment, the step S2 further includes:
if a cache directory exists in the path information, deleting the cache directory and creating a new cache directory, and accordingly, step S3 further includes:
and outputting all the remote branch information of the target git warehouse to the new cache directory to generate a cache file storing all the remote branch information.
Specifically, after the path information of the target git warehouse is obtained, whether a cache directory already exists under the path information is judged, and if not, a cache directory is created for storing all remote branch information in the git warehouse. If the cache directory already exists, in order to avoid unpredictable influence of the history data in the cache directory on subsequent execution operations, the existing cache directory is deleted first, and then a new cache directory is created. Step S2 may be implemented by the following code:
wherein, CURRENT _ PATH ═ 1 indicates that the PATH information of the target git warehouse is assigned to the CURRENT _ PATH variable, and then whether a $ CURRENT _ PATH/tmp _ pull cache PATH exists is judged, wherein tmp _ pull indicates the cache directory under the target git warehouse PATH. If not, a new cache directory is created by the mkdir command, if already existing, the existing cache directory is first deleted by the rm command, and then the new cache directory is created by the mkdir command.
Accordingly, step S3 further includes: and outputting all the remote branch information under the target git warehouse to the newly created cache directory, and generating a cache file storing all the remote branch information.
Based on the above embodiment, the step S3 further includes:
calling a cd command to switch the current path to the path information of the target git warehouse;
all remote branch information in the target git repository is exported to the cache files of the cache directory via gitbranch-a.
Specifically, a cache directory is already created in step S2, and in step S3, a cache file is created in the cache directory, where the cache file created in this step is mainly convenient for later use when branches are automatically switched.
Firstly, switching a CURRENT PATH to the PATH of the target git warehouse by calling a cd $ CURRENT _ PATH command, and then outputting all remote branch information under the PATH of the target git warehouse to a cache file under a cache directory by calling git branch-a > $ CURRENT _ PATH/tmp _ pull/tmp _ branch.txt, wherein the git branch-a is output remote branch information, wherein-a represents all and outputs all remote branch information content, and ">" represents output redirection, namely redirecting the output content to another place, and ">" represents the destination address of redirection, and the destination address of redirection can be seen to be $ CURRENT _ PATH/tmp _ pull/cache file tmp _ branch.txt under the cache PATH.
All the remote branch information processed by the above-mentioned processing is stored in a cache file tmp _ branch.
Based on the above embodiment, the step S4 further includes:
calling a cat command to output all contents in the cache file and assemble the contents into a set;
and traversing the set through a for command, assigning the obtained data to a predefined variable and calling a git checkout command to perform branch switching operation on the predefined variable in each traversal process.
Specifically, step S4 mainly implements automatic switching of remote branches, and first needs to read all contents in a tmp _ branch. Then, the cat command and the for command are combined to read the remote analysis information line by line, and the specific implementation is as follows:
for curr_branchin`cattmp_branch.txt
in the code, for.. in represents loop reading, and cat tmp _ branch.txt represents that the contents in the tmp _ branch.txt file are all output and assembled into a set, so that the set is traversed through the for loop, one piece of data is traversed each time, the information of the piece of data is assigned to the temporary variable curr _ branch, and one remote branch read in the loop body at each time is assigned to the curr _ branch variable.
Next, switching operation is performed on each read remote branch, and specific branch switching codes are as follows:
git checkout-t$curr_branch
the remote branch is switched by using the git checkout command, where-t denotes the remote branch and $ curr _ branch denotes the remote branch that the curr _ branch variable holds. This completes a remote branch switch logic, and when the entire cycle is complete, the switch logic for all remote branches in the entire warehouse is complete.
Based on the above embodiment, after the step S4, the method further includes:
and calling a git checkoutmaster command to restore the current local branch into a local master branch, and clearing the cache directory by executing an rm command.
Specifically, after the switching of all remote branches is completed, the step mainly performs a cleaning operation in the later stage. The scrubbing operation is mainly divided into two pieces of content, one is to restore the current local branch to the master branch (master branch), and the other is to scrub the cache file.
After the step S4 is completed, the current local branch can be switched to the local master branch only by calling the git checkout master, so that the operation of branch restoration is performed. If the branch is not restored, the branch will be in the last branch of the step switch, which may cause trouble to the developer.
Secondly, the cache directory created in the branch switching process needs to be cleaned, the cache directory created by us is cleaned mainly by calling an rm-rf $ CURRENT _ PATH/tmp _ pull command, and the original directory structure is restored, so that the implementation of the whole scheme is completed.
As shown in fig. 2, a schematic structural diagram of an apparatus for switching a remote branch to a local branch at one time according to another embodiment of the present invention includes: a path fetch module 21, a cache creation module 22, a branch output module 23, and a branch switch module 24, wherein,
a path obtaining module 21, configured to obtain path information of a target git warehouse that needs to be subjected to branch switching;
a cache creating module 22, configured to determine whether a cache directory exists under the path information, and if not, create the cache directory;
a branch output module 23, configured to output all the remote branch information in the target git repository to the cache directory, and generate a cache file in which all the remote branch information is stored;
and the branch switching module 24 is configured to read the cache file line by line, and perform an operation of switching to a local branch on the remote branch information obtained by each reading.
Specifically, it is necessary to know which git warehouse needs to be branch-switched before switching, and therefore, the path obtaining module 21 first obtains the path information of the target git warehouse that needs to be branch-switched. After the path information of the target git warehouse is obtained, all the remote branch information under the path information can be checked, in order to switch all the remote branches at one time, a cache directory needs to be established for storing all the remote branch information under the path information, and the subsequent operation is convenient, so that the cache creating module 22 firstly judges whether the cache directory already exists under the path information, and if not, a cache directory is created for storing all the remote branch information in the git warehouse. Then, the branch output module 23 stores all the remote branch information in the target git repository into the established cache directory, and generates a cache file storing all the remote branch information in the target git repository after the storage is completed. That is, all the remote branch information in the target git repository has been cached in the cache file. Finally, the branch switching module 24 reads the contents in the cache file line by line, each line represents one piece of remote branch information, and each time one piece of remote branch information is read, a branch switching operation is performed, so that the remote branch is switched to a local branch. When the cache file is read, the switching of all remote branches in the whole target git warehouse to local branches is completed.
The device for switching the remote branch into the local branch at one time provided by the embodiment of the invention can effectively solve the problems of low development efficiency and complexity caused by the fact that the remote branch needs to be manually switched for many times in the development process, greatly improves the development efficiency and reduces the cost of manpower and material resources.
Based on the above embodiment, further include:
and the branch restoring module is used for calling a git checkpoint master command to restore the current local branch into a local master branch and cleaning the cache directory by executing an rm command.
Specifically, after the switching of all remote branches is completed, the step mainly performs a cleaning operation in the later stage. The scrubbing operation is mainly divided into two pieces of content, one is to restore the current local branch to the master branch (master branch), and the other is to scrub the cache file.
The branch restoring module can switch the current local branch to the local master branch by calling git checkoutmaster, and the operation of branch restoring is achieved. If the branch is not restored, the branch will be in the last branch of the step switch, which may cause trouble to the developer.
Secondly, the branch restoring module needs to perform cleaning operation on the created cache directory in the branch switching process, and mainly cleans the created cache directory by calling an rm-rf $ CURRENT _ PATH/tmp _ pull command to restore the original directory structure, so that the implementation of the whole scheme is completed.
Fig. 3 is a schematic structural diagram of an apparatus for switching a remote branch to a local branch at a time according to another embodiment of the present invention, which includes a memory 31, a processor 32, and a bus 33,
the processor 32 and the memory 31 complete mutual communication through the bus 33;
the memory 31 stores program instructions executable by the processor 32, and the processor 32 calls the program instructions in the memory 31 to perform the method according to the embodiments, for example, including: s1, acquiring the path information of the target git warehouse needing branch switching; s2, judging whether a cache directory exists under the path information, if not, creating the cache directory; s3, outputting all the remote branch information in the target git warehouse to the cache directory, and generating a cache file storing all the remote branch information; and S4, reading the cache file line by line, and executing the operation of switching the remote branch information obtained by each reading into a local branch.
According to yet another aspect of the present invention, there is provided a non-transitory computer readable storage medium storing computer instructions that cause the computer to perform a method as described in the various embodiments above, for example comprising: s1, acquiring the path information of the target git warehouse needing branch switching; s2, judging whether a cache directory exists under the path information, if not, creating the cache directory; s3, outputting all the remote branch information in the target git warehouse to the cache directory, and generating a cache file storing all the remote branch information; s4, reading the buffer file line by line, and obtaining the result for each reading as well as the result can be understood by those skilled in the art: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiment of the device for switching a remote branch to a local branch at a time is merely illustrative, where the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments. The program branch information performs an operation of switching to the local branch.
Finally, the method of the present invention is only a preferred embodiment and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for switching a remote branch into a local branch at one time comprises the following steps:
s1, acquiring the path information of the target git warehouse needing branch switching;
s2, judging whether a cache directory exists under the path information, if not, creating the cache directory;
s3, outputting all the remote branch information in the target git warehouse to the cache directory, and generating a cache file storing all the remote branch information;
and S4, reading the cache file line by line, and executing the operation of switching the remote branch information obtained by each reading into a local branch.
2. The method according to claim 1, wherein the step S1 further comprises:
judging whether the path information of the target git warehouse needing branch switching is transmitted as an input parameter or not;
if the route information is not transmitted, prompting the user to input the route information of the target git warehouse, and outputting the route information input by the user; or,
and if the transmission is carried out, outputting the path information.
3. The method according to claim 1, wherein the step S2 further comprises:
if a cache directory exists in the path information, deleting the cache directory and creating a new cache directory; accordingly, step S3 further includes:
and outputting all the remote branch information of the target git warehouse to the new cache directory to generate a cache file storing all the remote branch information.
4. The method according to claim 1, wherein the step S3 further comprises:
calling a cd command to switch the current path to the path information of the target git warehouse;
all remote branch information in the target git repository is exported to the cache files of the cache directory via gitbranch-a.
5. The method according to claim 1, wherein the step S4 further comprises:
calling a cat command to output all contents in the cache file and assemble the contents into a set;
and traversing the set through a for command, assigning the obtained data to a predefined variable and calling a git checkout command to perform branch switching operation on the predefined variable in each traversal process.
6. The method according to any one of claims 1 to 5, further comprising, after the step S4:
and calling a git checkoutmaster command to restore the current local branch into a local master branch, and clearing the cache directory by executing an rm command.
7. An apparatus for switching a remote branch to a local branch at a time, comprising:
the path acquisition module is used for acquiring path information of a target git warehouse which needs to be subjected to branch switching;
the cache creating module is used for judging whether a cache directory exists under the path information or not, and if not, the cache directory is created;
a branch output module, configured to output all remote branch information in the target git repository to the cache directory, and generate a cache file in which all the remote branch information is stored;
and the branch switching module is used for reading the cache file line by line and executing the operation of switching the remote branch information obtained by reading each time into a local branch.
8. The apparatus of claim 7, further comprising:
and the branch restoring module is used for calling a git checkpoint master command to restore the current local branch into a local master branch and cleaning the cache directory by executing an rm command.
9. The device for switching the remote branch into the local branch at one time is characterized by comprising a memory, a processor and a bus,
the processor and the memory complete mutual communication through the bus;
the memory stores program instructions executable by the processor, which invokes the program instructions in the memory to perform the method of any of claims 1 to 6.
10. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1 to 6.
CN201810002455.5A 2018-01-02 2018-01-02 A kind of method and device that remote branch is disposably switched to local branch Pending CN109992294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810002455.5A CN109992294A (en) 2018-01-02 2018-01-02 A kind of method and device that remote branch is disposably switched to local branch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810002455.5A CN109992294A (en) 2018-01-02 2018-01-02 A kind of method and device that remote branch is disposably switched to local branch

Publications (1)

Publication Number Publication Date
CN109992294A true CN109992294A (en) 2019-07-09

Family

ID=67128356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810002455.5A Pending CN109992294A (en) 2018-01-02 2018-01-02 A kind of method and device that remote branch is disposably switched to local branch

Country Status (1)

Country Link
CN (1) CN109992294A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949309A (en) * 2020-08-07 2020-11-17 北京字节跳动网络技术有限公司 Method and device for pulling IDL file, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247601A (en) * 2017-07-04 2017-10-13 武汉斗鱼网络科技有限公司 Development process optimization method, device and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247601A (en) * 2017-07-04 2017-10-13 武汉斗鱼网络科技有限公司 Development process optimization method, device and storage medium

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
JANSON: "Track all remote git branches as local branches", 《HTTPS://STACKOVERFLOW.COM/QUESTIONS/379081/TRACK-ALL-REMOTE-GIT-BRANCHES-AS-LOCAL-BRANCHES》, 18 December 2008 (2008-12-18) *
MARCINWOLNY: "git pull all branches from remote repository", 《HTTPS://STACKOVERFLOW.COM/QUESTIONS/18891794/GIT-PULL-ALL-BRANCHES-FROM-REMOTE-REPOSITORY》, 19 September 2013 (2013-09-19) *
USER43685: "How to clone all remote branches in Git", 《HTTPS://STACKOVERFLOW.COM/QUESTIONS/67699/HOW-TO-CLONE-ALL-REMOTE-BRANCHES-IN-GIT/17635744》, 16 June 2013 (2013-06-16), pages 1 *
ZHANGRUOXU: "git分支合并脚本", 《HTTPS://WWW.CNBLOGS.COM/ZHANGRUOXU/P/6616514.HTML》, 25 March 2017 (2017-03-25) *
刘振洪: "《Linux操作系统实用教程》", 31 October 2016, 天津科学技术出版社, pages: 89 - 90 *
初悦欣: "活灵活现用Git――技巧篇", 《程序员》, no. 02, 1 February 2009 (2009-02-01) *
大塚弘记: "《GitHub入门与实践》", 31 July 2015, 人民邮电出版社, pages: 375 - 376 *
王爱平: "《C语言程序设计》", 电子科技大学出版社, pages: 261 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949309A (en) * 2020-08-07 2020-11-17 北京字节跳动网络技术有限公司 Method and device for pulling IDL file, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110580155B (en) Implementation method and device of state machine engine, computer equipment and storage medium
CN111610978B (en) Applet conversion method, device, equipment and storage medium
CN105573755A (en) Method and device for acquiring application Activity rendering time
US8806475B2 (en) Techniques for conditional deployment of application artifacts
US8972936B2 (en) Version labeling in a version control system
CN112783568B (en) Initialization method, device, equipment and storage medium of application program
US8250059B2 (en) Crawling browser-accessible applications
CN110764839A (en) Business processing flow configuration method, business request processing method and device
CN109800005A (en) A kind of hot update method of client and device
CN108595178B (en) Hook-based data acquisition method, device and equipment
CN110990001A (en) IVR (Interactive Voice response) process execution method and device
CN111381812A (en) Program issuing method, program calling device, storage medium and computer equipment
CN114138281A (en) Compiling method, device, equipment and medium of software engineering
CN113568604B (en) Method and device for updating wind control strategy and computer readable storage medium
Synytskyy et al. Resolution of static clones in dynamic web pages
US11416455B2 (en) Version control of electronic files defining a model of a system or component of a system
CN108733468A (en) Timed task Dynamic Configuration and device, storage medium and server cluster
CN109992294A (en) A kind of method and device that remote branch is disposably switched to local branch
CN107526619B (en) The loading method of format data stream file
CN111209463B (en) Internet data acquisition method and device
CN112860264A (en) Abstract syntax tree reconstruction method and device
CN108897569A (en) The method for cleaning and computer readable storage medium of iOS engineering discarded record
CN110489124B (en) Source code execution method, source code execution device, storage medium and computer equipment
CN112114864B (en) Cocoapods code pulling optimization method and system
CN113742550A (en) Data acquisition method, device and system based on browser

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190709

RJ01 Rejection of invention patent application after publication