没有 Visual Studio 的 TFS 源代码控制?
是否可以在没有 Visual Studio 的情况下使用 TFS 源代码管理?我必须将一些文件放在一些源代码管理中,这些文件存储在某个服务器的文件夹中,这是在 Oracle 表单中开发的东西。我只需要在某些源代码管理中添加这些文件,并且我想使用 TFS 来实现这一点。我们可以使用任何技巧或工具吗?
Is it possible to use TFS source control without Visual Studio? I have to put some files in some source control, those files are stored in a folder in some server, that is something developed in Oracle forms. I just need to add those files in some source control and I'd like to use TFS for that. Any tips or tools could we use for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
对于单个文件夹中的几个文件来说,TFS 可能有点大材小用,但如果 TFS 基础设施已经就位,那么它就可以工作。
您将需要安装 Team Explorer(或在非 Windows 上)Team Explorer Everywhere 来为您提供客户端工具。但您可以使用
tf.exe
命令行(或来自 Team Explorer Everywhere 的等效命令)。TFS is likely to be overkill for a few files in a single folder, but if the TFS infrastructure is already in place then it will work.
You will need Team Explorer (or, on non-Windows) Team Explorer Everywhere installed to give you the client tools. But you can perform all source code operations with the
tf.exe
command line (or equivalent from Team Explorer Everywhere).Team Foundation Server Power Tools 具有提供集成的 Windows Shell 扩展
使用 Windows 资源管理器和通用文件对话框。通过这种集成,您可以执行许多源代码管理操作,而无需运行 Visual Studio 或 Team Foundation 命令行工具。
Team Foundation Server Power Tools has Windows Shell Extensions that provides integration
with Windows Explorer and the common file dialogs. With this integration, you can perform many source control operations without having to run Visual Studio or a Team Foundation command-line tool.
请参阅这个答案< /a> 但您需要确保 tfs 服务器也正在运行以进行连接。使用 git/mercurial/svn...{任何其他免费源代码控制系统}不是更简单吗?
see this answer but you will need to make sure you have tfs server running as well to connect to. Would it not be simpler to use git/mercurial/svn...{any other free source control system}?
我是 TFS 的爱好者之一,但我认为在你的情况下,如果你不需要在任何窗口中使用 Team Explorer 或 Team Explorer Everywhere (这将需要使用命令行),我建议使用 SVN 子版本(VisualSVN Server )它是开源的,并且集成了操作系统外壳(TortoiseSVN)右键菜单,这比使用命令行更容易
I am one of the lovers of TFS, but I think in your case if you don't need to use Team Explorer or Team Explorer Everywhere (which will need command line used) for none windows I suggest to use SVN sub version (VisualSVN Server) it's open source and it has integrated OS shell (TortoiseSVN ) right click menu which will be easy than using command line
Vlad:确实如此,但这一点很重要:我使用“Shell 扩展”一段时间后才意识到它确实会产生问题。首先,“Shell Extensions”在签入时不会报错;它只是出乎意料地停下来,窗户关闭了。
另外,我寻找外部“源代码管理资源管理器”的原因是,如果您从 Window 资源管理器中删除 TFS 源代码管理下的任何文件,则签入过程将失败,并提示缺少文件。安全删除文件的正确方法是通过“源代码管理资源管理器”进行;然后就可以办理登机手续了。通常这不是问题,除非像我一样,您有一个 Java 项目并且 NetBeans 和 NetBeans 之间没有集成。 TFS。
Vlad: That is true, but this important: I have used the "Shell Extensions" for a while only to realize that it does create problems. First of all, the "Shell Extensions" does not report errors during a check-in; it only unexpectedly stops, and the window closes.
Also, the reason I am looking for an external "Source Control Explorer" is that if you delete any file from Window Explorer that was under Source Control by TFS, the Check-In procedure will fail saying that there is a file missing. The correct way to safely delete a file is to do it through "Source Control Explorer"; the check-in then works. Usually not a problem, unless, like me, you have a Java project and have no integration between NetBeans & TFS.