linux - 分配给 AzureDevops 中的个人访问 token 、用于 GIT 的 "Scope of Access"应该有多宽?

标签 linux git authentication azure-devops windows-subsystem-for-linux

背景

我正在尝试在 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多个访问范围,并且一个范围有多个子选项。 为了清楚起见,我指的是这个表格。 enter image description here

问题

除了 code 范围(这是显而易见的)之外,是否还应该启用任何其他权限/范围,以便在与 Azure DevOps 交互时使 git 发挥全部功能?

最佳答案

不,您不需要任何其他范围即可使用该存储库。我也很确定您不需要管理权限,但我没有测试这个假设。

关于linux - 分配给 AzureDevops 中的个人访问 token 、用于 GIT 的 "Scope of Access"应该有多宽?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56674181/

相关文章:

linux - linux命令中括号有什么用

svn - 关于使用 git-svn repo 的团队的工作流问题

authentication - Blazor 服务器 - 如何配置本地 ADFS 安全性?

authentication - ColdFusion CFHTTP I/O 异常 : peer not authenticated - even after adding certs to Keystore

Python 监视文件夹 - 询问文件大小列表

linux - sed 用 NULL 替换空格

在 CentOS 上更新到 OpenSSh 5.3 后的 Git 访问问题

git 在带有 @ 符号的文件夹中添加文件 - fatal : Not a git repository

authentication - 去中心化身份管理

可以附加到正在运行的进程的 C++ 探查器?