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

亡梦爱人 提交于 2019-12-08 14:32:07

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/6021818/is-there-a-way-to-do-a-partial-checkin-in-tfs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!