Skip to content

Commit 0265531

Browse files
committed
Reintroduce 'dont-force-push' on PR lifecycle
This is a copy of the same documentation that now features in the quick reference as well.
1 parent e54a2bb commit 0265531

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

getting-started/pull-request-lifecycle.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,15 @@ message. It is usually okay to leave that as-is and close the editor.
135135
See `the merge command's documentation <https://git-scm.com/docs/git-merge>`__
136136
for a detailed technical explanation.
137137

138+
Don't force-push
139+
----------------
140+
141+
In order to keep the commit history intact, avoid squashing or amending
142+
history and then force-pushing to the PR.
143+
Reviewers often want to look at individual commits.
144+
145+
CPython uses squash merges, so PRs will end up as single commits when merged.
146+
138147

139148
.. _good-prs:
140149

0 commit comments

Comments
 (0)