// docs / versioning
Never lose a working prompt again.
Every commit is a version. This page covers committing, comparing, undoing, and citing exact versions.
Committing a version
Edit in the dashboard, then hit Commit. Add a one-line changelog: future-you will search these. For meaningful changes, pick Minor or Major in the save dialog to bump the semantic version (v2.3.0 → v2.4.0 or v3.0.0); plain commits bump the patch number.
Free keeps the last 3 versions per prompt; Pro keeps everything. Saves from the CLI, extension, and Loop land in the same history with their source tagged, so the history is one timeline no matter where you worked.
Comparing versions (diff)
Open a prompt → History tab → pick any two versions → Compare. Changed sections show the old text (red) next to the new text (green), and the three sections diff independently, so a CONTEXT change doesn't drown out an INSTRUCTION tweak.
Rolling back
In History, every non-current version has a Rollbackaction. Rollback is linear: restoring v3 removes v4 and v5 (you'll confirm first; the dialog tells you exactly how many versions will be dropped). If you want to keep the newer work, copy it into a new prompt before rolling back.
Version-pinned links
https://promptlikeengineer.com/p/<prompt-id> # always the latest version
https://promptlikeengineer.com/p/<prompt-id>?v=3 # pinned to v3 foreverThe ?v= link never changes content: cite the exact prompt that produced a result in a PR description, a paper, or a bug report. Works only for public prompts in public projects.
Related
Want the version history to improve on its own? Loop saves each winning variant as the next version with a Loop(strategy) changelog.