%% date:: [[2023-04-04]] %% # [[Forcing a push to git]] If you're running into conflicts in a [[Git]] repository and you just want to make sure your remote repo takes whatever you have in your local repo, use this: ```shell git push origin branchname --force ``` Note that you shouldn't do this if there are other developers working on the same code as you who might potentially be unhappy with you for blowing away their changes.