Gitextensions: Add "Force push with lease" to the push dialog

Created on 24 Aug 2017  路  3Comments  路  Source: gitextensions/gitextensions

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
The Push dialog only offers the option to "Force push" which can be quite dangerous

2017-08-24 11_23_19-push was rejected from _origin_

What is the expected behavior?
Add the option "Force push with lease" to provide more safety for users who often push rebased branches.

good first issue feature request

Most helpful comment

it does force with lease if your git supports it. I think we Can reword it to force with lease and drop the support of old version of git, probably prior to 1.9 cannot remember for sure

All 3 comments

it does force with lease if your git supports it. I think we Can reword it to force with lease and drop the support of old version of git, probably prior to 1.9 cannot remember for sure

Git supports it since 1.8.5 (Release notes)

Dropping support for git versions prior to 1.9(released in spring 2014) seems reasonable IMHO.

Is anyone willing to put a PR for this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrey-helldar picture andrey-helldar  路  4Comments

elait picture elait  路  4Comments

bookman25 picture bookman25  路  3Comments

Kryptos-FR picture Kryptos-FR  路  3Comments

mynkow picture mynkow  路  3Comments