Force Push vs Force Push With Lease

A thing I learned today:

--force-with-lease vs --force: The safer option - it refuses to push if someone else has pushed to the remote since your last fetch, preventing accidental overwrites of others' work.


all tags