如何在 Source Safe 中添加文件夹?
我有一个 html 和 css 文件的静态站点。我的电脑上有它的文件夹。我在 Source Safe 8 中看到“添加文件”选项,但它仅从根文件夹复制文件。
如何让 Source Safe 复制整个文件夹树结构及其文件?
I have a static site of html and css files. It has folders on my computers. I see an 'add files' option in Source Safe 8 but it only copies files from the root folder.
How can I get Source Safe to copy the whole folder tree structure and their files?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
要复制整个目录树,请在可视源安全中创建根文件夹(“创建项目”)。然后从 Windows 资源管理器中选择要添加到此新项目(文件夹)的所有文件和文件夹。
它应该提示您发表评论。输入您的注释并点击
确定
。这应该添加所有文件和文件夹。如果您只需要添加一个文件夹,请将文件夹拖到 VSS 中的根目录中。它将在 VSS 中创建该文件夹。
我认为 VSS 总是将文件夹称为“项目”。
To copy the entire directory tree, create the root folder ("Create Project") in visual source safe. Then from Windows Explorer select all files and folders you want to add to this new project (folder).
It should prompt you for a comment. Enter your note and click
ok
. That should add all files and folders.If you only need to add a folder, drag the folder in to it's root in VSS. It will create the folder in VSS.
I think VSS always calls folders "projects".
是的,拖放文件夹,选中底部的递归框,在其中添加初始签入的注释。这将复制所有子文件夹和文件。
Yes, drag and drop the folder, check the recursive box at the bottom where you add your comment for the initial check in. This copy all subfolders and files.
我完全同意使用更好选项的建议,但是如果您使用 Source Safe,我相信它在菜单中作为“创建项目”来手动创建文件夹。
I completely agree with the suggestion of using a better option, however if Source Safe is what you use I believe its in the menus as "Create Project" to manually create folders.
自从我使用 Source Safe 以来已经有一段时间了,但是 IIRC,您应该能够将一个目录拖放到您的 Source Safe 项目中,然后就会添加整个树。
Its been a bit since I've used Source Safe, but IIRC, you should be able to just drag and drop a directory into your Source Safe project and the entire tree will be added.
只需将文件夹从资源管理器拖放到 sourcesafe 中的文件夹中即可。
just drag and drop the folder from explorer into the folder in sourcesafe.