mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 15:39:13 +00:00
## Problem CLI 3.3.0 added `supabase config convert --to toml` (supabase/cli#7741), a supported way to go from `config.jsonc` / `config.json` back to `config.toml`. The docs only cover converting to JSONC. The Branching troubleshooting page only offers a manual git restore for going back. ## Solution - `config-formats.mdx`: a new "Convert back to TOML" section. It covers what the command carries over, the `.bak` backup, the refusal when `config.toml` already exists, `--dry-run` and undo, and the optional reason prompt / `--reason` flag that's sent as telemetry. - `deployment/branching/troubleshooting.mdx`: "Wrong config file used" now points at `--to toml` first and keeps the git restore for CLIs earlier than 3.3.0. ## Review instructions 1. Open the Config formats and Branching troubleshooting pages on the preview. 2. Check the "Convert back to TOML" section and the link to it from the troubleshooting page. ## Checklist Check all before review: - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs [style guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)