Francesco Mazzoli <f@xxxxxxxx> writes: > So we would have something like > > * `push.disableForce`: config flag that disables `--force` and suggests > `--force-with-lease` instead; > * `--disable-force` and `--no-disable-force`, config flags to tune the above > config parameter at will. > > What do you think? The take-away lesson that the earlier thread gave me was that the order in which the three options are ranked by their desirebility in the UI (and the order we would like to encourage users to use) is, from the most to the least preferrable: - "--force-with-lease=<ref>:<expect>" that is safer than "--force"; - "--force" that is known to be dangerous, and does not pretend to be anything but; - "--force-with-lease" that pretends to be safer but is not. The last form should eventually be eliminated, as there is no way to correctly intuit what the expected object should be. To me, a disableForce configuration that encourages use of either the best one or the worst one alone does not look like a step forward, unless we also have a change to disable the last form.