以Gitlab为例
1、开issue
填写代码的主要功能、描述
2、在issue下建分支
分支命名:类型/issue id--功能
Bug-b,feature-f
选择Create merge request and branch
,新建分支,并保持MR的更新,方便同事查看进度。

3、在vscode里pull代码

4、切换分支


5、开发代码上传,找同事review
6、review 流程
pull代码,切换到分支,首先看代码格式,然后看代码质量、运行效果。
在gitlab的MR里,可以打开web IDE,查看修改的内容前后对比

会自动打开修改过的文件

网友评论