How do I change my deploy branch in Vercel?
Unanswered
Thai Bangkaew Dog posted this in #help-forum
Thai Bangkaew DogOP
I imported my repository to vercel and it looks like Vercel automatically selected my default branch. But, I do not want use my default branch for deployment. Here (https://vercel.com/guides/can-i-use-a-non-default-branch-for-production) I found I can change production branch in Git menu item in my project setting. But problem is, I don't have such setting in my page. Page shows just some form fields and Deploy button. (See screenshot I posted) But I guess I have to change production branch before starting deploy. Isn't it? How do I change production branch in Vercel?
3 Replies
Black carp
change default repo branch to the branch u wanna deploy
in github
@Black carp change default repo branch to the branch u wanna deploy
Thai Bangkaew DogOP
can I set prod branch as default and import repo to Vercel again and change back default branch to main in Github? Or Vercel will automatically change connected branch if I change default branch in github?