tf 签入特定文件夹 [英] tf checkin a specific folder

查看:43
本文介绍了tf 签入特定文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在签入"中Visual Studio 的命令文档说:

in the "checkin" command documentation of Visual Studio it says:

在不使用签入"对话框的情况下签入对单个项目的更改

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:一些评论" ?

推荐答案

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

You can use tf checkin /recursive , it will check in everything under a given directory.

您有两种方法可以检入特定文件夹:(首先导航到您的工作区,例如,我的工作区映射到 E:\andy\0718\maven)

You have two ways to checkin a specific folder: (Navigate to your workspace first, eg, My workspace mapped to E:\andy\0718\maven)

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

1. Specify folder path directly: (Add a new folder "0719" with *.txt files to test that)

tf checkin E:\andy\0718\maven\0719 /comment:"0719" /recursive /noprompt

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

cd 07192

tf checkin /comment:"07192 test" /noprompt

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

Note: In above example, I added new folder "0719" and "07192" with *.txt files to test that, you can using the tf checkin command directly to checkin your existing folders.

这篇关于tf 签入特定文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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