• Overview
    Key features
    • Observability
    • Auto-scaling
    • Multiframework
    • Security
    • Django
    • Next.js
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    • PHP
    • Python
    • Node.js
    • Ruby
    • Java
    • Go
  • Industries
    • Consumer Goods
    • Media/Entertainment
    • Higher Education
    • Government
    • Ecommerce
  • Pricing
  • Featured articles
    • Switching to Platform.sh can help IT/DevOps organizations drive 219% ROI
    • Organizations, the ultimate way to manage your users and projects
  • Support
  • Docs
  • Login
  • Request a demo
  • Free Trial
Meet Upsun. The new, self-service, fully managed PaaS, powered by Platform.sh.Try it now
Cover image

Renaming your project’s default branch

20 January, 2021
Chad Carlson
Chad Carlson
Manager, Developer Relations

When you create a new repository in Git, the “default branch”—the top-level branch, from which all subsequent branches split off from and merge back into—has always been named master.

This naming convention has carried into every product that’s built on top of Git. Platform.sh is no exception. New Platform.sh projects have master as the default production environment, and master was, until recently, hardcoded in certain places.

Sensitivity around the word “master” has led many in the developer community to adopt alternate default branch naming when possible. To support this movement, we’re proud to announce that you can now update your Platform.sh project’s default branch to something other than master, no matter your integration.

We’ve written a handy guide to take you through the process step by step:

If you have any questions about this update or the guide, feel free to contact us.

Get the latest Platform.sh news and resources

Related Content

Limit deployments to Platform.sh only when Git tagged: part two

Limit deployments to Platform.sh only when Git tagged: part two

AboutSecurity and complianceTrust CenterCareersPressContact us
Thank you for subscribing!
Field required
Leader Winter 2023
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceAcceptable Use PolicyManage your cookie preferencesReport a security issue
© 2024 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺