This commit is contained in:
Isabelle Viktoria Maciohsek
2022-07-13 23:00:19 +03:00
committed by GitHub
parent 20e149ed75
commit 354fb9bada

View File

@ -8,7 +8,7 @@ firstSeen: 2021-04-06T19:47:19+03:00
lastUpdated: 2021-04-13T21:10:59+03:00 lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Forces an update of the remote branch adter rewriting the history locally. Forces an update of the remote branch after rewriting the history locally.
- Use `git push -f` to force update the remote branch, overwriting it using the local branch's changes. - Use `git push -f` to force update the remote branch, overwriting it using the local branch's changes.
- This operation is necessary anytime your local and remote repository diverge. - This operation is necessary anytime your local and remote repository diverge.