We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f1e428 commit f5bc45eCopy full SHA for f5bc45e
1 file changed
docs/productive/git/workflows/clean-history.rst
@@ -63,7 +63,9 @@ present the following scenario:
63
31a140a (my-feature) Add test for my new feature
64
132ae9b Add new feature
65
66
-#. The changes can now be sent to our remote branch with ``git push -f``.
+#. The changes can now be pushed to our remote branch using ``git push
67
+ --force-with-lease``. ``--force-with-lease`` option ensures that any existing
68
+ changes on the remote branch are not overwritten.
69
70
…with ``git commit --fixup`` and ``git rebase --autosquash``
71
------------------------------------------------------------
0 commit comments