Files
tldr/pages.zh/common/az-devops.md

25 lines
764 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# az devops
> 管理 Azure DevOps 组织。
> 是 `azure-cli`(也称为 `az`)的一部分。
> 详细信息:<https://learn.microsoft.com/cli/azure/devops>。
- 设置个人访问令牌PAT以登录特定组织
`az devops login --organization {{organization_url}}`
- 在浏览器中打开一个项目:
`az devops project show --project {{project_name}} --open`
- 列出在特定项目上工作的特定团队的成员:
`az devops team list-member --project {{project_name}} --team {{team_name}}`
- 检查 Azure DevOps CLI 当前配置:
`az devops configure --list`
- 通过设置默认项目和默认组织来配置 Azure DevOps CLI 行为:
`az devops configure --defaults project={{project_name}} organization={{organization_url}}`