Following the documentation here, I am trying to create a repository using the following command:az repos create --name Example
Which returns the following error:
The command failed with an unexpected error. Here is the traceback:
TF401019: The Git repository with name or identifier client does not exist or you do not have permissions for the operation you are attempting. Operation returned an invalid status code of 404.
I have run the az login
command, and set the organization and project as defaults in configuration using the following command:az devops configure --defaults organization=https://dev.azure.com/example project=example
How can a repo be created using the Azure DevOps CLI?