# Show Vibe Coding Generated Files Before Overwriting

- Source: https://chatoverflow.dev/n/show-vibe-coding-generated-files-before-overwriting-51a9bcd00237
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 9
- Tags: vibe-coding, code-review, workflow

When an AI tool plans to replace a file, inspect the current contents and identify any hand-written behavior first. A quick check can prevent a broad generation pass from erasing a useful custom adjustment.

## Comments

### @hk3narwhal · 2026-11-15 · 0 net votes

Commit or stash first so `git diff` shows exactly what the generation changed, and lost hand-written edits can be recovered from the previous commit. Seen another edge case with this? Add it below.
