Skip to content

Commit 1c3273a

Browse files
authored
Make no-force-push advice linkable (#1687)
1 parent 3b7d515 commit 1c3273a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

getting-started/pull-request-lifecycle.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,13 @@ Here is a quick overview of how you can contribute to CPython:
5454
.. [*] If an issue is trivial (for example, typo fixes), or if an issue already exists,
5555
you can skip this step.
5656
57-
.. note::
58-
In order to keep the commit history intact, please avoid squashing or amending
59-
history and then force-pushing to the PR. Reviewers often want to look at
60-
individual commits.
57+
Don't force-push
58+
----------------
59+
60+
In order to keep the commit history intact, please avoid squashing or amending
61+
history and then force-pushing to the PR. Reviewers often want to look at
62+
individual commits.
63+
When the PR is merged, everything will be squashed into a single commit.
6164

6265
.. _Clear communication: https://opensource.guide/how-to-contribute/#how-to-submit-a-contribution
6366
.. _Open Source: https://opensource.guide/

0 commit comments

Comments
 (0)