简体   繁体   English

TFS(Git):同一分支上的更多活动请求请求

[英]TFS(Git): More active pull request on same branch

I have a process question. 我有一个过程问题。 Now Im planning the move from git/gerrit to TFS(Git) environment. 现在我正在计划从git / gerrit到TFS(Git)环境的迁移。 Its very hard to me left the perfect functioning gerrit behind of us. 对我来说,很难让我们留下完美的运作能力。 :-(. I start to checking the abilities of the TFS(Git) and I have a question. We would use feature-branches and during the tests I see I can not create more active pull requests on the same branch or I can not add extra file versions to the same pull request. Besides I always have to merge when the pull request finished. :-(。我开始检查TFS(Git)的功能,并且有一个问题。我们将使用功能分支,在测试期间,我看到我无法在同一分支上创建更多活动的请求请求,或者我无法在相同的拉取请求中添加额外的文件版本。

How can I use the the following process:? 如何使用以下过程:?

1. DEveloper A send a commit to a feature F branch
2. DEveloper B and DEveloper C review the commit
3. Developer A send fixes to the feature F branch
4. Developer B and C review it again
5. After everyone is extremely happy and the feature is finished feature F 
   will be merged

I could not find a soulution in TFS(Git) to expand the pull request in extra commits. 我在TFS(Git)中找不到解决方案来扩展额外提交中的拉取请求。

DO you have an idea? 你有想法吗?

You can add extra changesto the pull request. 您可以在拉取请求中添加其他更改。 So it's not necessary to have multiple active pull request on the same branch. 因此,不必在同一分支上有多个活动的请求请求。 This is because the new committed changes after the pull request will automatically add to the active pull request. 这是因为在拉取请求之后新提交的更改将自动添加到活动的拉取请求中。

As the process you showed, after a pull request created for merge commit a from featureX into featureF branch, and then you make additional change on featureX branch during the above pull request still active. 如您所显示的过程,在为合并创建的拉取请求之后,将a featureX提交到featureF分支中,然后在上述拉取请求仍处于活动状态时对featureX分支进行其他更改。 Now developer B and C review this pull request, they will find the additional change you made fir the second time also contain in the pull request. 现在,开发人员B和C审查了此请求,他们将发现您第二次所做的其他更改也包含在请求中。

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

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