From: Junio C Hamano Date: Sat, 12 Sep 2020 18:15:42 GMT Subject: Re: [PATCH v2 0/2] push: make "--force-with-lease" safer Message-ID: In-Reply-To: <20200912150459.8282-1-shrinidhi.kaushik@gmail.com> Srinidhi Kaushik writes: > The `--force-with-lease[=[: makes sure that refs on remote aren't clobbered by unexpected changes > when the "" and "" ref values are explicitly specified. If you did a feature with different semantics to satisfy Dscho's need, then this is no longer "make force-with-lease safer", I would think. Hopefully it is just the cover letter. > The new option `--force-if-includes` will allow forcing an update only > if the tip of the remote-tracking ref has been integrated locally. > Using this along with `--force-with-lease`, during the time of push > can help preventing unintended remote overwrites. "if-includes" sounds quite sensible. I think you want to lose the word "lease" from the configuration variable name. I do not think it should be on by default, though. Thanks.