Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

faizansyed_pfera's avatar

Deployment Branch Doesn't Exist

I have a Laravel site that is currently deploying from the develop branch. This works however, I want this site to pull from the master branch. When I attempt to do this I get a "That branch does not exist." error. The master branch does exist however, it is not the default branch on the repository. Could that be the issue? Any help you provide is appreciated, thank you!

0 likes
3 replies
aurawindsurfing's avatar

I had a similar issue recently. Just remove the whole repository and add again the correct one on Forge. You should be able to do this anytime anyways in case something goes wrong.

faizansyed_pfera's avatar

Does reinstalling the repo mess anything up with the database? Does that data stay even when you uninstall it?

aurawindsurfing's avatar

it depends if you will run your migrations or not. Just backup database if you are not sure.

Please or to participate in this conversation.