创建新的团队项目时,如何在 TFS 2010 中禁用源代码管理的创建?
我搜索了 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
TFS 具有广泛的权限设置。
您应该能够通过权限限制对源树的签入/访问。
TFS has extensive permissions settings.
You should be able restrict check in / access to source tree by permission.