[Git operation] Issue release and commit binding

1 Introduction

In the development and testing process of Git, when the project has achieved phased results and completed deployment and is online, the project will be self-tested or the test engineer will complete the test. At this time, the issue in git will be used to raise the issue and feedback the content For R&D personnel, R&D personnel make targeted repairs based on the content of the issue and feed back the repaired results to the testers. This process is an iterative process. After the testers confirm that they are correct, the issue can be closed.

2. Use

After submitting an issue, the system will assign the issue number. As shown in the figure below
Insert picture description here
, when developers are repairing the issue, they can add the issue number to the commit content. After doing so, the issue and commit content can be combined. joined to each other, as shown
Insert picture description here
a commit message may be associated with multiple tasks simultaneously, such as: fix # issue_ident_1 # issue_ident_2 or fix # issue_ident_1 fix # issue_ident_2, please separated by spaces between different issue_ident
the commit if the issue associated Submit After the merge request is merged, the issue is closed accordingly

Guess you like

Origin blog.csdn.net/weixin_44704985/article/details/113974769