gpt4 book ai didi

TFS 2010 : How to check in files that were deleted but not deleted through TFS

转载 作者:行者123 更新时间:2023-12-01 23:49:04 24 4
gpt4 key购买 nike

我在本地工作区中有一些文件被 check out 然后删除,但没有通过 TFS 删除。 TFS 在挂起的更改 View 中仍将它们标记为“编辑”。当我尝试 checkin 已删除的文件时,我收到一条错误消息,指出无法找到这些文件。有没有办法告诉 TFS 这些文件已被删除,并且它们也应该在源代码管理中删除?

最佳答案

您可以通过 team explorer , 右键单击​​已删除的文件并执行 undo pending changes .然后通过 team explorer删除它们并 checkin 。

如果这不起作用 - 通过 team explorer 右键单击​​已删除的文件;做一个 get specific version并选中两个复选框以覆盖文件:

enter image description here

这将从 TFS 中获取已删除的 [from workspace] 文件。执行 undo pending changes在文件上。然后通过团队资源管理器删除文件并 checkin 。

关于TFS 2010 : How to check in files that were deleted but not deleted through TFS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14359784/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com