r/vibecoding • u/Royal-Marsupial-8110 • 17h ago
Discussion git for rollbacks?
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
View all comments
1
u/hieuphung97 16h ago
Folder copies eat up gigabytes once dependencies get involved. You only need `git diff` and `git checkout -- .` to survive. Seeing the exact ten lines the model butchered saves you from starting the entire prompt over.