如何控制开发人员可以看到的回购中的哪些解决方案? [英] How do I control which solutions in a repo a developer can see?

查看:48
本文介绍了如何控制开发人员可以看到的回购中的哪些解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的公司刚刚聘请了一位新开发人员,但是我的老板问我他们是否只能看到某些解决方案而不是我们所有的解决方案?

My company just hired a new developer, but my boss asked me if they can only see certain solutions instead of all of our solutions?

这可能吗?

第二个跟进问题,这可能是一个Git问题,或者可能是团队服务问题:

A second follow up question, and this may be a Git question, or maybe it is a Team Services question:

repo root下的每个解决方案 每次我登记时都会添加并同步,但我只想在主要解决方案中查看此回购。

Every solution under the repo root gets added and synced every time I check in, but I only want to check in the main solution into this repo.

Git每次同步时都会将我的个人项目混合到我的雇主的回购中一些解决方案只是样本项目或工具,我不想在回购中。我可能想要在工具文件夹中添加其他解决方案。

Git mixes my personal projects into my employer's Repo every time I sync, yet some of the solutions are just sample projects or tools that I do not want in the repo. Other solutions in the Tools folder I might want to add to the repo.

是否可以控制添加和同步哪些解决方案,而只需在根目录下添加所有解决方案。

Is it possible to control which solutions are added and synced instead of just adding all solutions under the root.

谢谢

推荐答案

谢谢你联系Microsoft论坛。我们很高兴回答您的问题。

Thank you for contacting Microsoft forums. We are pleased to answer your query.

如果解决方案完全不相关,通常它们将被放置在不同的VSTS / TFS项目和不同的Git存储库中。个人和工作项目通常会以相同的方式分开。

If the solutions aren’t related to each other at all, normally they’d be placed in different VSTS/TFS projects and in different Git repositories. Personal and work projects would normally be separated in the same way.

除此之外,此链接可能有所帮助,因为它概述了为VSTS / TFS中的不同对象授予不同的权限:

https://www.visualstudio.com/en 。-us /文档/设置管理员/权限
功能但这听起来好像将事情拆分成单独的项目可以满足您的大部分需求。

Beyond that, this link may help as it gives an overview for granting different permissions to different objects in VSTS/TFS: https://www.visualstudio.com/en-us/docs/setup-admin/permissions.  But it sounds like breaking things apart into separate projects would address most of your needs.

我希望回复能帮助您解决查询问题。如果您需要进一步的帮助,请回复该主题,因为我们随时可以提供您的查询。

I hope that the reply will assist you in getting your query addressed. In case you require further assistance, please do reply to the thread as we are always available to your queries.

问候,

_____________________________________________________________________________________

_____________________________________________________________________________________

如果帖子回答了您的问题,请点击 该帖子标记为答案   投票赞成

If a post answers your question, please click Mark as Answer on that post and Vote as Helpful

这篇关于如何控制开发人员可以看到的回购中的哪些解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆