New: Intelligent Flashcards spaced-repetition decks for every topic, built to make things actually stick.
You're about to let an AI refactor a working module. Which checkpoint command preserves your uncommitted edits so you can restore them after the AI's changes?
git clean -fd β bundles your edits into a recoverable archive
git clean -fd
git stash β shelves the changes to a stack you can pop later
git stash
git reset --hard β saves the current state as a restore point
git reset --hard