1/9/2024 0 Comments Branch twig![]() az repos policy list -repository-id d28cd374-e7f0-4b1f-ad60-f349f155d47c -branch main -output table This example uses the following default configuration: az devops configure -defaults organization= project="Fabrikam Fiber". You can get the repository ID by running az repos list. The following command returns all the branch policies in effect in the main branch of the Fabrikam repository, ID d28cd374-e7f0-4b1f-ad60-f349f155d47c. You can configure the default subscription using az account set -s. ID of the repository to filter results by exact match. You can add one or more positional keywords so suggestions are based on these keywords. You can copy one of the queries and paste it after the -query parameter in double quotation marks to see the results. Required if not configured as default or picked up via git config. You can configure the default project using az devops configure -d project=. You can configure the default organization by using az devops configure -d organization=. Accepted values: false, true.Īzure DevOps organization URL. For example: -branch main.Īutomatically detect organization. The -repository-id parameter is required to use the branch filter. az repos policy list īranch name to filter results by exact match. To list all policies in a project, use az repos policy list. ![]() ![]() You can use Azure DevOps CLI to list or show policies for a branch or repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |