Azure / Azure/azure-devops-cli-extension
Pull Request command should support creating PR from forked repo
- Dominant language
- Python
- Stars
- 682
- Forks
- 278
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 3
Description
[Edit] Converting the issue to a enhancement
**PR create command should support creating a new PR from a forked repo into the source repo.**
**Original reported issue:**
I use the following command:
az repos pr create -r -s master -t master
I get the return message The source branch, "refs/heads/master", can not be the same as the target branch.
To set the context:
On devops on Azure I have a main repo of the project, and I have a forked repo of the main, which I work on.
I want to do a pull request from forked repo's master branch to the main repo's master branch. I am running the command in the folder of the GIT repo on my local machine, so I am assuming the az tool will pick up source repo's ID.
I need some guidance on my command please.
Contributor guide
Assessment
This issue has not been assessed yet.