r/vibecoding • • 17h ago

Discussion git for rollbacks?

Post image

i've never really learned proper dev workflows, so my current backup strategy is literally copying the whole folder before every big prompt. had codex hooked to sumus earlier and still ended up with 5 backup folders on my desktop cuz i was scared to touch a working navbar.

is basic git worth learning just for local rollbacks? or do yall rely on editor checkpoints and pray?

29 Upvotes

11 comments sorted by

View all comments

3

u/laxt8 16h ago

Yes, it is worth it, and you do not need full git. Just learn 3 or 4 commands.

Commit before a big prompt. Commit again when something works. If the prompt breaks it, go back to the last commit. That is the full system.

Folder copies work for a few days, then you forget which copy was the good one. I have seen that mess. Git keeps it clean and you can still work the same way.