# How a new branch gets its config, migrations, and functions

DevFeed: [How a new branch gets its config, migrations, and functions](<https://devfeed.tech/articles/how-a-new-branch-gets-its-config-migrations-and-functions-88087.md>)

Original publisher: [Read original article](<https://supabase.com/blog/how-a-new-branch-gets-its-config-migrations-and-functions>)

Author: Qiao Han

Published: 2026-10-15T07:00:00Z

Content type: tutorial

Language: en

Sources: [Supabase](<https://devfeed.tech/sources/supabase-blog.md>)

Topics: [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Supabase](<https://devfeed.tech/topics/supabase.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [database](<https://devfeed.tech/tags/database.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [github](<https://devfeed.tech/tags/github.md>), [github-integration](<https://devfeed.tech/tags/github-integration.md>), [migrations](<https://devfeed.tech/tags/migrations.md>)

## AI overview

The article explains how Supabase preview branches receive configuration, database migrations, and Edge Functions. It describes how GitHub-connected and gitless branches source their inputs, how workflow steps run and retry, how migrations execute transactionally, and how function deployments skip unchanged bundles.

## Source excerpt

What runs when you create a branch: which settings are copied, where your migrations and functions come from, and what order the steps run in.