Force Push 与 --force-with-lease | Git
本章覆盖:non-fast-forward update;`--force`;overwrite remote ref;collaborator work loss risk;`--force-with-lease`;expected remote state;rebased personal branch;protected branch platform boundary;shared branch;优先 lease 而不是无条件 force。
本章知识点
- non-fast-forward update
--force- overwrite remote ref
- collaborator work loss risk
--force-with-lease- expected remote state
- rebased personal branch
- protected branch platform boundary
- shared branch
- 优先 lease 而不是无条件 force