[英]Whether the workflow of using Git and gitHub for cooperating project looks like as follows?
In a simple case, there should be at least three branches created locally.简单情况下,本地至少应该创建三个分支。
Here is my assumption about workflow for keeping code integrity and continuous development of the project in the decentralized repository for a group of people (GitHub).这是我关于保持代码完整性和项目在一组人的分散存储库 (GitHub) 中持续开发的工作流的假设。
git fetch
git fetch
git merge branch_3
and do integrity validationgit merge branch_3
并进行完整性验证git merge branch_2
and do integrity validationgit merge branch_2
并进行完整性验证git push
to upload the local repository to the remote repository.git push
将本地存储库上传到远程存储库。 Maybe need to do integrity validation and even worst case, loopback 1-4 if someone pushed their local repository faster than you. Check out this article on git branching with develop and master branches.查看这篇关于git 分支的文章,其中包含 develop 和 master 分支。 This is a commonly used approach for defining workflow with developer teams.
这是与开发团队一起定义工作流程的常用方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.