1
0
Fork 0

docs: contributing: use --force-with-lease instead of --force

It's a little less destructive

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
This commit is contained in:
Francesco Gazzetta 2023-10-03 10:43:08 +00:00 committed by Daniel Thompson
parent a5a1537e38
commit b32787e5ea

View file

@ -85,7 +85,7 @@ easily:
.. code-block:: sh .. code-block:: sh
git commit --amend --signoff git commit --amend --signoff
git push --force <myfork> HEAD git push --force-with-lease <myfork> HEAD
Additionally, please be aware that github will not send out automatic Additionally, please be aware that github will not send out automatic
notifications to let the maintainer know that you have pushed an update to the notifications to let the maintainer know that you have pushed an update to the