About pull requests in GitHub Codespaces
GitHub Codespaces provides you with many of the capabilities you might need to work with pull requests:
- Create a pull request - Using either the Terminal and Git commands or the Source Control view, you can create pull requests just as you would on GitHub.com. If the repository uses a pull request template, you'll be able to use this within the Source Control view.
- Open a pull request – You can open an existing pull request in a codespace, provided you have codespace access to the branch that is being merged in.
- Review a pull request - Once you have opened a pull request in a codespace, you can use the "GitHub Pull Request" view to add review comments and approve pull requests. You can also use GitHub Codespaces to view review comments.
Opening a pull request in Codespaces
-
リポジトリ名の下にある [pull request] をクリックします。
 タブの選択](https://web.archive.org/web/20221006035529im_/https://docs.github.com/assets/cb-24580/images/help/repository/repo-tabs-pull-requests.png)
-
In the list of pull requests, click the pull request you'd like to open in GitHub Codespaces.
-
On the right-hand side of your screen, click Code.
-
In the Codespaces tab, click Create codespace on BRANCH.

Reviewing a pull request in Codespaces
- 「pull request を開く」の説明に従って、codespace で pull request を開きます。
- アクティビティ バーで [GitHub の pull request] ビューをクリックします。 このビューは、codespace で pull request を開く場合にのみ表示されます。

- 特定のファイルを確認するには、サイド バーの [ファイルを開く] アイコンをクリックします。

- レビュー コメントを追加するには、行番号の横にある + アイコンをクリックします。 レビュー コメントを入力し、 [レビューの開始] をクリックします。

- レビュー コメントの追加が完了したら、サイド バーからコメントの送信、変更の承認、または変更の要求のいずれかを選択できます。

For more information on reviewing a pull request, see "Reviewing proposed changes in a pull request."
View comments from a review in Codespaces
Once you have received feedback on a pull request, you can open it in a codespace to see the review comments. From there you can respond to comments, add reactions, or dismiss the review.


