Hacker News new | ask | show | jobs
by sio8ohPi 2137 days ago
--force-with-lease is almost always the flag you ought to use instead.

"--force-with-lease alone, without specifying the details, will protect all remote refs that are going to be updated by requiring their current value to be the same as the remote-tracking branch we have for them."