“获取最新信息”仅在文件夹上,而不是递归
有没有一种方法可以让我在文件夹/分支上“获取最新”,而无需递归所有内容?我们的源有几个 GB,我只想基本上拥有分支本身的最新版本(或者可能只是所有文件夹),但不是任何内容。
如果您想知道为什么...那是因为在从 TFS 下载分支之前您无法删除它。如果该分支呈灰色,则无法删除它。所以我希望能够获得文件夹/分支的最新信息,而无需在内部递归。
Is there a way that I can "Get Latest" on a folder/branch by itself, without recursing through everything? Our source is a couple of GB, and I just want to basically have the latest version of the branch itself (or maybe just all of the folders), but not any of the contents.
If you're wondering why... it's because you can't delete a branch until you have downloaded it from TFS. If the branch is greyed out, you cannot delete it. So I want to be able to get latest on a folder/branch without it recursing inside.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法在 Visual Studio 中执行此操作,但可以从命令行< /a>.
从开始菜单打开“Visual Studio 命令提示符”并导航到本地工作区,例如 cd c:\tfs\myteamproject\mybranch,
然后使用命令“tf get $/myteamproject/mybranch/theFolderIWantToDelete”
这只会获得特定的信息文件夹,然后您可以返回VS并删除该文件夹并签入。
You can't do it from within Visual Studio, but you can from the command line.
Open up a "visual studio command prompt" from the start menu and navigate to your local workspace e.g. cd c:\tfs\myteamproject\mybranch
then use the command "tf get $/myteamproject/mybranch/theFolderIWantToDelete"
This will only get that specific folder, you can then go back to VS and delete the folder and check it in.