阻止TFS添加新提交以打开请求请求? [英] Prevent TFS from adding new commits to open pull request?

查看:77
本文介绍了阻止TFS添加新提交以打开请求请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的TFS 2013服务器中有一个git存储库.

I have a git repository in my TFS 2013 server.

5天前,我从我的个人分支到共享的"develop"分支创建了一个Pull请求.

I created a Pull Request 5 days ago, from my personal branch to the shared 'develop' branch.

从那时起,我继续开发其他功能,并将提交推送到服务器上的分支.我还没有准备好将它们合并到开发分支中.

Since then, I've continued developing on other features, and pushed the commits to my branch on the server. I'm not ready to merge these into the develop branch yet.

请求尚未被批准,但现在显示我所有后续提交都包含在请求中.

The pull request hasn't been approved yet, but now shows all of my subsequent commits being included in the pull request.

如何停止TFS这样做?

How do I stop TFS doing this?

(来自其他问题,例如这样的问题: github:将提交添加到现有拉请求其他git主机的行为与我期望的一样-您需要专门 try 将提交添加到拉请求中.

(from other questions, like this one: github: Adding commits to existing pull request other git hosts behave like I'm expecting - you need to specifically try to add a commit to a pull request).

谢谢

推荐答案

您具有请求请求"的预期行为.如果您不想添加新的提交来打开请求请求,则可以为您的个人分支创建另一个主题分支.

You had an expected behavior of Pull Request. If you don't want to add new commits to open pull request, you can create another topic branch for your personal branch.

这篇关于阻止TFS添加新提交以打开请求请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆