Skip to content

Commit fedd162

Browse files
authored
Merge pull request gitextensions#73 from jbialobr/release/2.51
Description for 'Push forced with lease when Commit & Push action is performed with Amend'
2 parents e75b5a9 + 7d3f790 commit fedd162

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/settings.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,15 @@ The settings that are used by Git are stored in the configuration files of Git.
916916
Controls whether branch name should be automatically normalised as per git branch
917917
naming rules. If enabled, any illegal symbols will be replaced with the replacement symbol of your choice.
918918

919+
.. settingsgroup:: Commit
920+
921+
.. setting:: Push forced with lease when Commit & Push action is performed with Amend option checked
922+
923+
In the Commit dialog, users can commit and push changes with one click. However, if changes are meant to amend
924+
an already pushed commit, a standard push action will be rejected by the remote server. If this option is
925+
enabled, a push action with ``--force-with-lease`` switch will be performed instead. The ``--force-with-lease``
926+
switch will be added only when the ``Amend`` option is checked.
927+
919928
.. settingspage:: Confirmations
920929

921930
This page allows you to turn off certain confirmation popup windows.

0 commit comments

Comments
 (0)