P圜harm opens an overview of the selected pull request. In the list of pull requests, select the one you want to work with and double-click it. In the main menu, go to Git | GitHub | View Pull Requests. If the maintainers of the original repository left comments or made suggestions with regard to your changes, you can view and apply them directly from P圜harm. View diff between the suggested changes and the base revision: click the name of a pull request, select a file and double-click it or press Control+D.Ĭreate a local branch based on incoming changes: open a pull request, click the branch with incoming changes and choose Checkout 'branch name'… in the context menu. Jump to a pull request on GitHub: select a pull request and choose Open on GitHub from the context menu. Use the GitHub Pull Requests tool window to:įilter requests by state, author, label, assignee, and review status. To view incoming pull requests, select Git | GitHub | View Pull Requests from the main menu. If you're a project maintainer, and you have a GitHub remote configured for your project, you can view and manage incoming pull requests directly from P圜harm. For more information about templates, refer to GitHub documentation. If you have a pull_request_template.md file, P圜harm should add the template description to your pull requests. You can come back to it later by choosing Git | GitHub | View Pull Requests in the main menu. Your pull request will appear in the GitHub repository as a draft. In the menu that opens, select Create Draft Pull Request. If you are not yet ready to push your pull request, you can save it as a draft.Ĭlick the button next to the Create Pull Request button. Optionally, add reviewers, assign your pull request to someone or add a label to your pull request. To view the details of a commit, click it to open the Diff view. In the Commits tab, review the list of commits that will be included in the pull request. Double-click the name of any file to open the Diff view. In the Files tab, you can review the changes you are about to submit. Specify the name for your pull request in the Title field, and, optionally, provide a description of the changes to be applied through your request. If you have a project that uses multiple remote repositories, you can change the head repository in this popup as well. In the popup that opens, specify the branch that contains the changes you want to apply. In the popup that opens, specify the branch to which you want to apply your changes.Ĭlick the name of the head repository on the right. The repository on the right is the head repository with the changes that will be added to the base repository.Īlternatively, you can create a new pull request by opening the Pull Requests tab and clicking the icon.Ĭlick the name of the base repository on the left. In the Info tab, the repository on the left is the base repository that will receive the updates. Go to Git | GitHub | Create Pull Request. Pull requests are used in open-source projects or in some corporate workflows to manage changes from contributors and to initiate code review before such changes are merged.īy creating a pull request, you tell others about the changes you want to push to the original repository, so that the maintainers of that repository can review your changes, discuss them, and integrate them into the base branch.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |