diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 558e91a7e19..bc514127158 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -42,6 +42,25 @@ a discussion venue appropriate to the PEP (such as `Typing Discourse typing, or `Packaging Discourse `__ for packaging), or `open an issue `__. +Opening a pull request +---------------------- + +The PEPs repository defines a set of pull request templates, which should be +used when opening a PR. + +If you use Git from the command line, you may be accustomed to creating PRs +by following the URL that is provided after pushing a new branch. **Do not use +this link**, as it does not provide the option to populate the PR template. + +However, you *can* use the ``gh`` command line tool. ``gh pr create`` will allow +you to create a pull request, will prompt you for the template you wish to use, +and then give you the option of continuing editing in your broswer. + +Alternatively, after pushing your branch, you can visit +`https://github.com/python/peps `__, and follow +the link in the notification about recent changes to your branch to +create a new PR. The in-browser interface will allow you to select a PR template +for your new PR. Commit messages and PR titles ----------------------------- @@ -56,7 +75,7 @@ the Readme/Contributing Guide, issue/PR template, etc., with ``Meta:``. Sign the Contributor License Agreement -------------------------------------- -All contributors need to sign the +All contributors need to sign the `PSF Contributor Agreement `_. to ensure we legally accept your work.