Create a PR to merge a fork’s changes using Github CLI
Aug 25, 2021
Let’s say personal_project/repo_name is forked from parent_project/repo_name and personal_project/repo_name:test_gh needs to be merged with parent_project/repo_name:master, then the following command is what you are looking for
gh pr create -R parent_project/repo_name --base master --head personal_project:test_gh --title “test github cli”