Skip to content

Commit 56ded06

Browse files
authored
Update pull_request_template.md
1 parent c550585 commit 56ded06

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/pull_request_template.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,17 @@
22
Thank you for taking the time to open a pull request!
33
Please review the checklist below and perform each of
44
the applicable tasks. ❤️!
5+
6+
A great pull-request has only one commit:
7+
Before publish a PR(already published PR should not be rebased), rebase your branch onto `main` and squash them into one commit with:
8+
`git update-ref refs/heads/my_branch $(echo "commit_message" | git commit-tree my_branch^{tree} -p main)`
9+
10+
Replace `my_branch` and `commit_message` with actual values.
511
-->
612

13+
14+
15+
716
**Checklist**
817

918
- [ ] Updated guide with pertinent info (may not always apply). <!-- Mark complete if nothing to do. -->

0 commit comments

Comments
 (0)