Skip to content
Latchkey

Force-With-Lease - CI/CD Glossary Definition

Force-with-lease (git push --force-with-lease) is a safer force push that only overwrites the remote branch if it still matches the value you last fetched, aborting if someone else pushed in between.

Force-with-lease (git push --force-with-lease) is a safer force push that only overwrites the remote branch if it still matches the value you last fetched, aborting if someone else pushed in between.

Force-with-lease (git push --force-with-lease) is a safer force push that only overwrites the remote branch if it still matches the value you last fetched, aborting if someone else pushed in between.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →