PhpStorm 2017.1 Help

Creating a Pull Request

Creating pull requests is a nice way to share your code with the community and to follow the collaborative development. With it you can tell others about the changes you’ve made and ask for comments, review, or just share the knowledge. With all this going on, a pull request appears in the original repository only after approval. A pull request can be prepared right from PhpStorm without switching to the browser.

To create a pull request:

  1. On the main menu, choose VCS | Git | Create Pull Request. The Create Pull Request dialog box opens.
  2. In the Base Form field, specify the repository to apply the changes to. PhpStorm attempts to retrieve all the relevant repositories and shows them in the drop-down list. Choose the repository from the drop-down list or click Select Other Fork and from the Form Owner drop-down list choose the name of the user who is the owner of the target repository.
  3. In the Base Branch field, specify the branch to apply the changes to. Click Show Diff to view the list of commits to be included in the pull request. To view the details of a commit, select it and switch to the Log tab which shows a list of files included in the selected commit list. See also Merging, Deleting, and Comparing Branches.
  4. In the Title field, specify the name for your request.
  5. In the Description field, optionally provide a brief description of the changes to be applied through the request.

See Also

Last modified: 31 March 2017