N
Neon2y ago
plain-purple

Resetting the root branch?

I have two branches. I no longer need the main_old branch but I'm unable to delete it because it's the root branch (no parent). Is there a way to reset the root branch to main or otherwise some other way to delete and free up the space currently used by the dead branch? Thanks.
No description
6 Replies
rare-sapphire
rare-sapphire2y ago
There’s currently no way to delete that root branch. We might change this in the future. I’ll ask internally if there’s any planned changes around this
extended-salmon
extended-salmon2y ago
In the meantime you can delete data on the main_old branch using the SQL editor truncating the table will free up storage
rare-sapphire
rare-sapphire2y ago
@Mahmoud should they also disable history retention temporarily to avoid retaining a history of the data? This has the caveat that they lose history on all branches temporarily AFAIK
extended-salmon
extended-salmon2y ago
Not necessary IMO Also, modifying the history retention window is only available on paid plans
rare-sapphire
rare-sapphire2y ago
Is it? I think you can set it to 0 or 24 hours on free
plain-purple
plain-purpleOP2y ago
Thanks @ShinyPokemon & @Mahmoud

Did you find this page helpful?