Skip to content

Commit 0ef06cd

Browse files
engelbenpmai
andcommitted
Remove suggestion to use -f in git push
Co-authored-by: Pierre R. Mai <[email protected]> Signed-off-by: Pierre R. Mai <[email protected]>
1 parent 952eeda commit 0ef06cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/howtocontribute.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The DCO requires a sign-off message in the following format appear on each commi
6565

6666
Signed-off-by: Firstname Lastname <[email protected]>
6767

68-
The DCO text can either be manually added to your commit body, or you can add either -s or --signoff to your usual Git commit commands. If you forget to add the sign-off you can also amend a previous commit with the sign-off by running git commit --amend -s. If you’ve pushed your changes to GitHub already you’ll need to force push your branch after this with git push -f.
68+
The DCO text can either be manually added to your commit body, or you can add either ``-s`` or ``--signoff`` to your usual Git commit commands. If you forget to add the sign-off you can also amend a previous commit with the sign-off by running ``git commit --amend -s``. If you’ve pushed your changes to GitHub already you’ll need to force push your branch after this with ``git push --force-with-lease``.
6969

7070

7171
Reporting issues

0 commit comments

Comments
 (0)