m github create_pr¶
Create a pull request.
https://docs.github.com/en/rest/reference/pulls#create-a-pull-request
example::
$ m github create_pr \
--owner jmlopez-rod \
--repo repo \
--head feature_branch \
--base master \
--title 'PR Title' \
@file_with_pr_body | m json
Source code in m/cli/commands/github/create_pr.py
Required arguments¶
--repo
¶
repo name
--head
¶
name of the branch where the changes are implemented
--base
¶
name of the branch you want the changes pulled into
--title
¶
pull request title
Options¶
--owner
¶
- default:
'jmlopez-rod'
repo owner
Positional arguments¶
body
¶
- default:
'@-'
data: @- (stdin), @filename (file), string