Documentation
New to version control? Start with What is version control?, then Getting started. Everything after that is short, one-topic pages: a page per feature, a page per plugin panel, and the safeguards that keep your work safe.
Taking back your last version
Undo the last version, in the ⋮ menu next to Changes, takes your most recent version off again. Its changes come back as unsaved work, ready to save differently.
Undo the last version Takes back your most recent version. Nothing in the painting changes; only the version goes.
Undo all At the top of Changes. Puts the painting back the way your last version had it. Everything since is lost, including Krita's undo history for it, so the app asks first.
Undo the last version is blocked if a later version or another line of work builds on it, so nothing that depends on it gets lost.