How to test and edit someone’s pull request using Visual Studio Code and push sugggested edits to existing PR?

Viewed 1043

I have a public GitHub repository.

Someone submitted a pull request.

I would like to test and edit pull request in Visual Studio Code and push suggested edits to existing pull request so they can be discussed and merged on GitHub.

I use Visual Studio Code as my code editor, but question isn’t specific to Visual Studio Code.

Is this possible using git command?

2 Answers

I have to admit that I never tried it, but as far as I could see, you need to:

  1. Install the GitHub Pull Requests and Issues from the Marketplace.
  2. Select your pull request from the list within Visual Studio Code.
  3. Click "Checkout".
  4. Review the pull request and finish your review.

There is also a cool demo on the code.visualstudio.com blog .

Related