Force pushing a new git repo (was: New git repository)

I have more of a resin/git question. Currently I have a git repository that I push via resin/master. I now want to change my application to another repository, but I assume resin doesn’t let me push it, since it doesn’t know that repository. Is there a way to override it?


Hey @RobinReumers,

Yes, it’ll through an error because the remote git history doesn’t match the new repo being pushed. You just need to pass the force to your push command. like so:

`git push resin master -f``

Thank you Craig, that’s very useful.