有没有办法在 TFS 中进行部分签入? [英] Is there a way to do a partial checkin in TFS?

查看:34
本文介绍了有没有办法在 TFS 中进行部分签入?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个文件有两个独立的修改.我只想提交其中一个.

I have a file that has two independent modifications. I would only like to commit one of them.

有什么方法可以只检查文件的一部分(不需要我修改或搁置/取消搁置它)?

Is there any way to only check in part of a file (without me modifying or shelving/unshelving it)?

本质上,在提交时创建一个临时文件,然后将其签入而不是磁盘上的文件?

Essentially, create a temp file on commit that then gets checked in instead of the file on disk?

推荐答案

不,唯一的方法是搁置您所做的更改,恢复或之前的版本并应用您想要的更改承诺.提交后,恢复到搁置的版本.

No, the only way is to shelve what changes you have, revert back or the previous version and apply the changes that you want to commit. After committing them, revert back to the shelved version.

这篇关于有没有办法在 TFS 中进行部分签入?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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