Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05a09d6 + 4863d05 commit 3b2a898Copy full SHA for 3b2a898
doc/devel/coding_guide.rst
@@ -32,6 +32,12 @@ When making a PR, pay attention to:
32
feedback from the developers. You may mark these as
33
`draft pull requests <https://help.github.com/en/articles/about-pull-requests#draft-pull-requests>`_
34
on GitHub.
35
+* When updating your PR, instead of adding new commits to fix something, please
36
+ consider amending your initial commit(s) to keep the history clean.
37
+ You can achieve this using::
38
+
39
+ git commit --amend --no-edit
40
+ git push [your-remote-repo] [your-branch] --force-with-lease
41
42
See also :ref:`contributing` for how to make a PR.
43
0 commit comments