简体   繁体   English

GIT:集中式工作流程简单问题

[英]GIT: Centralized Workflow simple question

I am new to GIT. 我是GIT的新手。 I am using Centralized Workflow like SVN. 我正在使用SVN等集中式工作流程。

GIT works great for DEV(local repository) to PROD(remote repository) structure. GIT对于DEV(本地存储库)到PROD(远程存储库)结构非常有用。

Now, we hired a QA/tester. 现在,我们聘请了质量检查/测试人员。 QA/Tester must approve dev changes before remote pushing to PROD. 质量保证/测试人员必须在远程推送到PROD之前批准开发人员更改。

Question: How would QA/Tester get DEV's repository to test? 问题:QA / Tester将如何获取DEV的存储库进行测试?

Thanks for your help! 谢谢你的帮助!

There are many different git workflows that will solve your problem. 有很多不同的git工作流程可以解决您的问题。 Too many to list here. 这里太多了。

The simplest answer is that you should use branches. 最简单的答案是您应该使用分支。 Develop your code on a branch named develop (in both your local and remote repositories), and have the tester merge that branch into master periodically when it passes testing. 在一个名为develop的分支(在本地和远程存储库中)上开发代码,并让测试人员在通过测试时定期将该分支合并到master

You should read about some different git workflows and decide which would suit you best: 您应该阅读一些不同的git工作流程,并确定哪种最适合您:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM