Skip to content

Glossary: Git Beyond the Basics

force push

Also written: force-push, force pushes, --force

A push that replaces the remote branch's history with yours. It is needed after rebasing a pushed branch.

Where the book teaches it

Related terms

--force-with-leaserebasegolden rule