When I want to force push, I nearly always use --force-with-lease
. Today I upgraded to Git 2.30 and discovered a new option: --force-if-includes
.
After reading the updated documentation, it's still not entirely clear to me under which circumstances I would use --force-if-includes
instead of --force-with-lease
like I usually do.