To manage GitHub pull requests, the VS Code GitHub Pull Request plug-in is available in the list of plug-ins of the workspace.
Using the GitHub Pull Requests plug-in
-
GitHub OAuth should be configured (see Configuring GitHub OAuth).
-
Authenticate by running the GitHub authenticate command.
-
You will be redirected to GitHub to authorize Che.
-
When Che is authorized, refresh the browser page where Che is running to update the plug-in with the GitHub token.
Alternatively, manually fetch the GitHub token and paste it to the plug-in by running the GitHub Pull Requests: Manually Provide Authentication Response command.
Creating a new pull request
-
Open the GitHub repository. To be able to execute remote operations, the repository must have a remote with an SSH URL.
-
Checkout a new branch and make changes that you want to publish.
-
Run the GitHub Pull Requests: Create Pull Request command.