Azure / Azure/azure-cli

Support forking repositories with `az repos create`

Open
#22,131 5 comments 0 reactions 0 assignees View on GitHub
act-platform-engineering-squad Auto-Assign customer-reported DevOps feature-request Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Is your feature request related to a problem? Please describe.**
For the life of me I can't figure out how to fork a repo using Azure CLI. It seems like forks are supported by the [Azure Repos create API](https://docs.microsoft.com/en-us/rest/api/azure/devops/git/Repositories/Create?view=azure-devops-rest-6.0), but Azure CLI does not expose that feature.

**Describe the solution you'd like**
Add additional arguments to `az repos create` to specify parent repository and refs.

**Describe alternatives you've considered**
Calling REST API directly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.