git - How to combine two visual studio online environments to work with a single git repository
问题描述
We have two separate visual studio online environments. However, we would like to have one git repository that is synced across the vso environments. So both teams can pull/push and have both the remotes in sync.
解决方案
Assume share repoA from VSTS accountA to the users of VSTS accountB. Then you can follow below options based on the situation you need:
Option 1: users from VSTS accountB can only pull/push in client side
For this situation, you just need to provider a PAT from accountA to the users of account.
And the minimum scope of the PAT is only select Code (read and write).
Option 2: users from VSTS accountB can access to repoA from VSTS accountA web page
You can also add users from accountB to accountA, and then set permissions for the users, so that they can access to the repoA (such as create pull request) from VSTS web page.
Note: if users with basic access level are more than 5, you need to pay for the additional users with basic access level.
推荐阅读
- mysql - 如何返回 sum(field) <= value 的行
- java - 创建通用方法以使用 OpenCSV 导出数据
- javascript - 单击推送通知时如何打开应用程序的特定页面
- javascript - 如何在有效载荷消息中添加逗号?
- jpa - 在 Spring 数据 JPA 中外部化本机查询
- amazon-web-services - 可以通过 SDK 一次调用 AWS Pinpoint 进行验证吗?
- c# - 更改功能区按钮而不重新启动 Revit
- visual-studio-code - Visual Studio Code 链接到本地 HTML 文件
- python - 数据框重塑
- javascript - 如何选择带有 id 的特定按钮?