Heroku Force Push


#1

I’m getting the error

error: failed to push some refs to 'git@heroku.com:....git'
hint: Updates were rejected because the tip of your current branch is behind
((git push "git@heroku.com:....git" "...:refs/heads/master")) returned exit code 1

when using Heroku deployment. I think it is because I force pushed to this branch. Is there a way to configure circle.yml to tell it to force push to Heroku instead of just a normal push?


#2

Yeah this would be great to have, especially for a staging environment where a dev can push their branch locally.


#3