Background/Situation [Optional]
GitHub pull requests in the IDE display PRs based on the remote configured for your project. Users with both organizational repositories and personal forks may encounter confusion when PRs are displayed from the fork instead of the organization repository.
Question
How to configure GitHub pull requests in the IDE to display PRs from a specific repository?
Answer
To configure GitHub pull requests in PyCharm:
-
Add the repository to your Git remotes:
- Navigate to the main menu.
- Go to Git \ Manage Remotes....
- Ensure the required repository is added to the list of remotes.
-
Switch the repository in the Pull Requests tool window:
- Open the Pull Requests tool window.
- Click the three-dots button (options) in the tool window.
- Select Change Repository or Account....
- Choose the organization repository to display pull requests from it.
Comments
0 comments
Please sign in to leave a comment.