Enforce Git-based workflows for production deploys

October 21, 2025

Now you can require all production deploys to go through a Git-based workflow.

When enabled in your project settings, this setting prevents:

  • Accidental production publishes from the Netlify CLI, MCP server, or API
  • Promoting Deploy Previews or branch deploys to production through the Netlify UI

This ensures that both team members and AI agents follow your preferred Git-based workflow before your project’s code reaches production.

Learn more in our Git workflow docs.