tf 签入特定文件夹

tf checkin a specific folder

在 Visual Studio 的“checkin”命令文档中说:

Check in a change to a single item without using the Check In dialog box

c:\code\SiteApp\Main>tf checkin program.cs /noprompt

如何签入特定文件夹?

像那样: tf checkin path/path/path -comment:"some comment" ?

您可以使用 tf checkin /recursive ,它会检查给定目录下的所有内容。

您可以通过两种方式签入特定文件夹:(首先导航到您的工作区,例如,我的工作区映射到 E:\andy18\maven

1.直接指定文件夹路径:(添加一个带有*.txt文件的新文件夹“0719”进行测试)

tf checkin E:\andy18\maven19 /comment:"0719" /recursive /noprompt

2。导航到特定目录(文件夹),然后签入当前文件夹中的文件:

cd 07192

tf checkin /comment:"07192 test" /noprompt

注意:在上面的例子中,我添加了带有*.txt文件的新文件夹“0719”和“07192”来测试,你可以直接使用tf checkin命令来签入您现有的文件夹。