创建新的团队项目时,如何在 TFS 2010 中禁用源代码管理的创建?

发布于 2024-12-22 18:17:24 字数 349 浏览 2 评论 0原文

我搜索了 MSDN 和这个网站(以及一堆网络搜索),没有发现任何明显的东西......我确实在这里看到了一个关于使用现有源代码管理文件夹的类似问题 - 并且注意到 TFS 显然存储了一些那里的项目设置(因此无论您是否使用它都需要一个)。

我们正在使用非 TFS 源代码控制工具 - 我不希望新手“意外地”将源版本存储在 TFS 中。因此,当我在 VS 2010 中创建新的团队项目时,我想禁用 TFS 2010 源代码控制“树”的创建。

不过,对于这个问题可能还有其他解决方案,我愿意接受建议。例如,如果 TFS 确实需要存储一些内部数据 - 是否有一种方法可以简单地阻止任何源代码签入(即让 TFS 根据需要使用源代码控制项目,但阻止用户添加文件)?

I've searched MSDN and this site (as well as a pile of web searches) and not found anything obvious ... I do see a similar question here about using an existing source control folder -- and the note that TFS apparently stores some project settings there (and thus needs one whether you use it or not).

We're using a non-TFS source control tool -- and I don't want newcomers "accidentally" storing source versions in TFS. So, I'd like to disable the creation of a TFS 2010 source control "tree" when I create a new Team Project in VS 2010.

There may be other solutions to this problem, though, and I'm open to suggestion. For example, if TFS really does need to store some internal data -- how about a way to simply prevent any source code checkins (that is, let TFS use the source control project as needed, but prevent users from adding files)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

╭⌒浅淡时光〆 2024-12-29 18:17:24

TFS 具有广泛的权限设置。

您应该能够通过权限限制对源树的签入/访问。

TFS has extensive permissions settings.

You should be able restrict check in / access to source tree by permission.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文