brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
git-checkpointUse git as a safety net - create a checkpoint commit before risky or large changes and roll back cleanly if a change makes things worse. Use before multi-file refactors.
Independent GitHub snapshot · Automated classification · Original documentation governs
You work in a git-backed sandbox. Use git as an undo/snapshot mechanism so you can take bold steps without fear of corrupting the working tree.
Before a large refactor or anything you are unsure about, save the current good state:
git add -A && git commit -m "checkpoint: before <short description>" --no-verify
Record the commit hash (git rev-parse HEAD) so you can return to it.
If a change makes things worse and you cannot quickly fix it, revert rather than piling on more edits:
git checkout -- <file>git reset --hard HEADgit reset --hard <checkpoint-hash>Then re-read the code and try a different approach.
.bak / backup files — git is your history.