GH CLI | Pull Request
GH CLI create a pull request
The next command will create a PR using a default branch as base branch, and also will fill title and comment of the PR depends on commit messages
gh pr create -f -a "@me"Command options:
-a/--assignee– assignee by their usernames-b/--body- body for the pull request-r/--reviewer- request reviews from people or teams by their user(group) names-d/--draft– mark pull request as a draft-B/--base- the base branch, in this branch your code will be merged
GH CLI open pull request in browser
gh pr view --webLinks
Last updated