N
Neon12mo ago
molecular-blue

Recover deleted branch

I accidentally deleted one of the branches. I want to restore it. Can someone please help me with this?
5 Replies
modern-teal
modern-teal12mo ago
You can create a new branch and include data up to a previous point in time. This can be done from the console/CLI
modern-teal
modern-teal12mo ago
Neon
Manage branches - Neon Docs
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...
molecular-blue
molecular-blueOP12mo ago
Hey @Mahmoud, thanks for your help! I have a follow-up question to clarify: If I created a dev branch from main and added some changes to dev branch that weren’t on main, then accidentally deleted the dev branch, is it still possible to recover it along with those changes?
modern-teal
modern-teal12mo ago
No unfortunately that's not possible. Changes will need to be re-applied
sunny-green
sunny-green9mo ago
@jesusarellano

Did you find this page helpful?