N
Neon13mo ago
fair-rose

Branching with Vercel

Hi everyone!!! I finally moved from Supabase to Neon and I'm very happy about it. One of the reasons I wanted to move: simplicity with branching. Can you tell me, when integrating with Vercel, is it possible to set the parameters by which a new branch will be created as if we create manually via new branch?
3 Replies
rival-black
rival-black13mo ago
s it possible to set the parameters by which a new branch will be created as if we create manually via new branch
Hey! Do you mind sharing more details? Which parameters would you like to set?
fair-rose
fair-roseOP13mo ago
Hi Mahmoud, In your branching tutorial, you mentioned that we can create branches by selecting a time slot or log—is that still an option on the dashboard? And with Vercel integration, I understand it automatically copies the target branch without options for custom rules, correct? I’d love your advice on setting up branches that match the main branch schema but without full production data. Would you suggest using seed scripts or setting up a preview/staging branch (feature => preview/staging => main) to keep main isolated? Thanks so much for any thoughts!
rival-black
rival-black13mo ago
In your branching tutorial, you mentioned that we can create branches by selecting a time slot or log—is that still an option on the dashboard?
Yes you can go to the branches page and click on new branch
I’d love your advice on setting up branches that match the main branch schema but without full production data. Would you suggest using seed scripts or setting up a preview/staging branch (feature => preview/staging => main) to keep main isolated?
Unfortuantely this is not possible with the Vercel integration. You would need to set up your own CI pipeline. The reason being is that the integration currently doesn't allow you to pick a branch other then the default Neon branch as a parent. It's also not possible to create a branch without data
And with Vercel integration, I understand it automatically copies the target branch without options for custom rules, correct?
That is correct, yes

Did you find this page helpful?