Is there a way to check-out multiple files from various folders in TFS in a single operation.
i have modified multiple files under muliple direcotries but i want them to check-out in a single click and check-in also in single click.
Thanks.
是的,使用TFS命令行客户端(tf.exe)。
如果您有tf.exe可用,则可以使用checkout命令执行此操作。(如果不这样做,请看以下问题:如何获取tf.exe(TFS命令行客户端)?)
Visual Studio 2013-2015的检出命令:https : //www.visualstudio.com/zh-cn/docs/tfvc/checkout-or-edit-command
较旧的版本:https : //msdn.microsoft.com/zh-cn/library/1yft8zkw(v=vs.80).aspx
示例:按空格分隔多个文件
tf checkout file2.cs file2.cs
Run Code Online (Sandbox Code Playgroud)
示例:使用通配符进行搜索
tf checkout *.csproj /recursive
Run Code Online (Sandbox Code Playgroud)