开发者

Is there a way to do a partial checkin in TFS?

开发者 https://www.devze.com 2023-03-06 19:19 出处:网络
I have a file 开发者_运维问答that has two independent modifications. I would only like to commit one of them.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号