Just finised work on my other branch. Now I need to test that this works on Heroku before I merge with the master branch.
other
master
Is it possible to pus
git push -f heroku otherBranch:master
The -f (force flag) is recommended in order to avoid conflicts with other developers’ pushes. Since you are not using Git for your revision control, but as a transport only, using the force flag is a reasonable practice.
source :- offical docs