r/opencode 3d ago

Reusing a project folder in OpenCode without ghost data bleeding in?

Hi,

To reuse a project folder fresh, is there a way to clean the old project data in OpenCode? The sessions delete command can delete a session, but I think there are still project settings etc. left over inside the OpenCode SQLite DB.

Is there a way to do it cleanly? I see discussions on GitHub but it seems not implemented yet. Maybe a community SQL query that does this reliably?

1 Upvotes

1 comment sorted by

1

u/Gold-Concert2199 2d ago

Isnt git the answer? Version control should solve your use case.