# Git Push Force [A Git Commands Tutorial] ![rw-book-cover](https://assets-global.website-files.com/5d514fd9493b0575f03520bd/5e2a1539b3437be8c9018c2f_cover-git-push-force2.PNG) URL:: https://www.datree.io/resources/git-push-force Author:: datree.io ## Highlights > It is well known that using Git’s push --force command is strongly discouraged and considered destructive. ([View Highlight](https://read.readwise.io/read/01ff0z0p3bp8ze0j2z5whx2e0d)) > What git push does is basically - > 1. Copies all the commits that exist in the local branch > 2. Integrates the histories by forwarding the remote branch to reference the new commit, also called Fast forward ref. ([View Highlight](https://read.readwise.io/read/01ff0z1dg2e28se4gv7bcgvdvk)) --- Title: Git Push Force [A Git Commands Tutorial] Author: datree.io Tags: readwise, articles date: 2024-01-30 --- # Git Push Force [A Git Commands Tutorial] ![rw-book-cover](https://assets-global.website-files.com/5d514fd9493b0575f03520bd/5e2a1539b3437be8c9018c2f_cover-git-push-force2.PNG) URL:: https://www.datree.io/resources/git-push-force Author:: datree.io ## AI-Generated Summary Git push-force command is often considered dangerous to use. In this tutorial, you'll understand the usage and impact of this command on your project. ## Highlights > It is well known that using Git’s push --force command is strongly discouraged and considered destructive. ([View Highlight](https://read.readwise.io/read/01ff0z0p3bp8ze0j2z5whx2e0d)) > What git push does is basically - > 1. Copies all the commits that exist in the local branch > 2. Integrates the histories by forwarding the remote branch to reference the new commit, also called Fast forward ref. ([View Highlight](https://read.readwise.io/read/01ff0z1dg2e28se4gv7bcgvdvk))