Команда gh-pr: опции, ключи и примеры использования

gh pr

Manage GitHub pull requests from the command line. More information:

  • Create a pull request:

gh pr create

  • Check out a pull request locally:

gh pr checkout {{pr_number}}

  • View the changes made in the PR:

gh pr diff

  • Approve the pull request of the current branch:

gh pr review --approve

  • Merge the pull request associated with the current branch, removing the branch on both the local and the remote:

gh pr merge

Также может быть вам интересно:
Фото ghost

Фото gh-reference

Интересное на «Цифре»