To use the pull request (PR) template, you need to create a file in your repository. Here’s how to do it:
- File Name:
pull_request_template.md
- File Location: Place it in one of the following locations in your repository:
.github/
directory (preferred method)
.github/pull_request_template.md
Steps to Set Up
- Create the
.github
Directory (if it doesn’t already exist):
- Navigate to the root of your repository.
- Create a directory named
.github
.
2. Add the Template:
- Create a new file named
pull_request_template.md
inside the.github/
directory. - Paste the Markdown content you want to use as the PR template.
Example: Following is the example for PR template.