Skip to content

Git and saving your work

Save versions you can find your way back to

One giant commit called “update” holds a week of work.

What you get
Your current changes split into small, named saved versions, and a rule for doing it as you go.
Paste it into
Your AI tool, in your project
The prompt
My uncommitted changes are a mix of several things. Help me save them as versions I can make sense of later.

Read the current changes and group them by purpose: one feature, one fix or one clean-up each. Show me the groups and a short message for each that says what changed and why, in plain words. After I agree, commit them group by group, checking the project still builds after each one.

Don't include secrets, build output or unrelated files. Then add a rule to this project's instructions file so that from now on you propose a saved version each time a piece of work is working.

Use it

Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in.

More in Git and saving your work