Guides & Tutorials

Unlimited environments thanks to branch deploys

Guides & Tutorials

Unlimited environments thanks to branch deploys

Throughout December we'll be highlighting a different Netlify feature each day. It might just be the thing you need to unlock those creative juices, and dust off that domain you registered but never deployed! Keep an eye on the blog and on Twitter for each feature!

With Branch Deploys, you can say goodbye to the headaches of replicating your build and hosting environments for staging, testing, production and so on.

Now, you can have unlimited identical environments within Netlify's build and hosting infrastructure simply by creating a branch in your code repository and letting Netlify know that you'd like to build and serve that too.

Each branch of the code repository for your site gets a URL on an appropriately-named subdomain which tracks the head of the branch. And by default, each one is configured in just the same way, and is served from identical hosting infrastructure.

The days of trying to configure each environment identically, or troubleshoot their differences are over!

Configuring which branches get deployed in the Netlify Admin

You can tell Netlify to deploy every branch it finds in your repository, or just some specified branches, or ignore them all together. Visit the Build and Deploy section of your site's admin page to configure it just how you'd like.

More information

Keep reading

Recent posts

Book cover with the title Deliver web project 10 times faster with Jamstack enterprise

Deliver web projects 10× faster

Get the whitepaper