diff --git a/doc/guides/contributing/pull-requests.md b/doc/guides/contributing/pull-requests.md index 228b9839ca1f8b..1ad39ef8472b18 100644 --- a/doc/guides/contributing/pull-requests.md +++ b/doc/guides/contributing/pull-requests.md @@ -318,6 +318,8 @@ $ git commit --amend $ git push --force-with-lease origin my-branch ``` +Amend your last commit just to fix some minor mistake you may have noticed before any reviewing, though. To make the reviewing process simpler, when some changes are requested it's preferable to add a new commit. + There are a number of more advanced mechanisms for managing commits using `git rebase` that can be used, but are beyond the scope of this guide.