Keeping A/B test branches in sync

Hello, we’re looking at using the A/B testing feature on our website. Typically we would have the scenario of testing the master branch versus another branch (off of master) in parallel for about 2 weeks.

It’s not clear from the docs if there’s a way to keep the 2 branches in sync automatically. So let’s say the master branch is being updated, the second branch will be out of date with master. Would we have to manually merge master into our second branch every time master is updated?

Thank you,
Anda Popovici

Hey Anda,

That would be correct, yes. Depending on your Git workflow, you could make an API call to check if the branch(es) are involved in a split test here at Netlify and sync/create a PR for the content.