Skip to content

Glossary: Git Beyond the Basics

--force-with-lease

Also written: force-with-lease, stale info

A safer force push that replaces the remote branch only if it is still where your last fetch saw it. If a teammate pushed meanwhile, Git rejects it with `stale info`.

Where the book teaches it

Related terms

force pushrebase