Some github cli example commands to open pull requests.
Remove --dry-run
to create.
Opens a pull reqest to merge SOURCEBRANCH into DESTBRANCH, using a markdown formatted template for the body.
gh pr --repo USERHERE/myrepo create \
--head SOURCEBRANCH --base DESTBRANCH \
--title "Pull Request Title Here" \
--template pull_request_template.md \
--reviewer USERHERE --draft --dry-run
Opens a pull reqest to merge SOURCEBRANCH into DESTBRANCH.
gh pr --repo USERHERE/myrepo create \
--head SOURCEBRANCH --base DESTBRANCH \
--title "Pull Request Title Here" \
--body "Pull request body here." \
--reviewer USERHERE --draft --dry-run