背景
我正在尝试在 WSL 和 Linux 上使用 git 命令行实用程序来访问 Azure DevOps 上的 GIT 存储库。根据微软文档发现here .
For non-Microsoft tools that integrate into Azure DevOps but don't support Microsoft account or Azure AD authentication, you must use PATs. Examples include Git, NuGet, or Xcode.
PAT 是个人访问 token 。 一个PAT允许30多个访问范围,并且一个范围有多个子选项。 为了清楚起见,我指的是这个表格。
问题
除了 code 范围(这是显而易见的)之外,是否还应该启用任何其他权限/范围,以便在与 Azure DevOps 交互时使 git
发挥全部功能?
最佳答案
不,您不需要任何其他范围即可使用该存储库。我也很确定您不需要管理权限,但我没有测试这个假设。
关于linux - 分配给 AzureDevops 中的个人访问 token 、用于 GIT 的 "Scope of Access"应该有多宽?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56674181/