无论如何在 TFS 中签入未签出的已修改文件 [英] Anyway in TFS to check-in modified files which are not checked-out

查看:22
本文介绍了无论如何在 TFS 中签入未签出的已修改文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论如何在 TFS 中签入未签出的已修改文件.

Anyway in TFS to check-in modified files which are not checked-out.

我对一些我没有签出的文件进行了修改.

I made modifications in some fo the files which are I didnt check-out.

在子版本中,我们只能签入修改过的文件,这里也有类似的方法..

In Sub version we can check-in only modified files is there any similar way here as well..

我是 TFS 的新手

推荐答案

最终,您确实需要在签入文件之前签出文件.有几种方法可以做到这一点 - 如果您确切地知道您需要哪些文件已修改,您可以简单地使用 UI 或命令行客户端检查它们.

Ultimately, you do need to check out files before they can be checked in. There's a couple of ways to do this - if you know exactly which files you've modified, you can simply check them out with the UI or with the command line client.

当然,让 TFS 确定您修改了哪些文件并为您检查它们要容易得多.您可以使用 Team Foundation Server Power Tools 扫描本地磁盘以查找使用该命令所做的更改:

Of course, it's much easier to just let TFS determine which files you've modified and check them out for you. You can use the Team Foundation Server Power Tools to scan your local disk for changes that were made using the command:

tfpt online

这将定位已修改但未检出的文件,以及添加到磁盘但未挂起相应添加的文件以及已删除但未挂起相应删除的文件.然后,您可以选择将任何或所有这些更改挂起到服务器,然后签入.

This will locate files that were modified and not checked out as well as files that were added to your disk that don't have a corresponding add pended and files that were removed that don't have a corresponding delete pended. You can then choose to pend any or all of those changes to the server and then checkin.

这篇关于无论如何在 TFS 中签入未签出的已修改文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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