[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# Files are getting deleated within the project after prompts when I publish to git.

33 views · 1 like · 4 posts


Ernest Deriv (@ernest-deriv) · 2025-12-19



When I run a new prompt, it works but also deletes extra files. Only the required files should change.


system (@system) · 2025-12-19

Did you know there's another category dedicated to #v0 topics? A human should be here soon to help, but the answer may already be available even faster in one of these other posts.

Our docs are a great place to start.

https://vercel.com/docs/v0

We also have a walkthrough to help guide your workflow.

https://community.vercel.com/t/become-a-v0-expert/5981

And these recordings can give you a look at v0 features and strategies in action shown by our Community: 

https://community.vercel.com/tags/c/events/42/v0


Anshuman Bhardwaj (@anshumanb) · 2025-12-23 · ♥ 1

Hi @ernest-deriv, welcome to the Vercel Community!

I'm sorry that you're facing this issue. Could you share an instance with prompt where this happened and which files were removed? Sharing a chat Id will also help us in understanding what went wrong.


Anshuman Bhardwaj (@anshumanb) · 2026-01-23

Hi @ernest-deriv, I wanted to follow up on your issue regarding files being deleted after publishing to git. Have you had a chance to identify any specific prompts or files involved in this problem? Please let me know if you still require assistance or if you've found a solution.