NeonN
Neon2y ago
5 replies
colossal-harlequin

Branch limit and managing branches

Hello! Our team recently hit our branch limit of 500. We noticed this after the Vercel integration stopped providing environment variables, causing our builds to fail. I manually deleted some old (~1 year) branches but I'd like some tips on how to manage branches.

Namely, is there a way to automatically delete old branches? I've read the docs page on managing branches (https://neon.tech/docs/manage/branches) but the only insight was manually deleting them one by one. It's a bit tedious to go through 500 branches manually only for the limit to fill up again sometime in the future.

Thanks in advance!
Neon
Data resides in a branch. Each Neon project is created with a root branch called main, which is also designated as your default branch. You can create child branches from main or from previously creat...
Manage branches - Neon Docs
Was this page helpful?