opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Add a checkpoint system via git

Open shariqriazz opened this issue 1 year ago • 4 comments

Hello can we add a checkpoint system via git so we can go back to certain points? i.e. after each file changes?

shariqriazz avatar Jun 24 '25 22:06 shariqriazz

+1, A checkpoint system would be great, with or without git (I would prefer it not keep committing to my repo if it does use git internally)

archodev avatar Jul 01 '25 14:07 archodev

Agree with this. Powerful tool, but as with all AI can sometimes go on a tangent, having points in time to restore back to would be a great addition.

FragAverage avatar Jul 07 '25 10:07 FragAverage

This is now possible: https://opencode.ai/docs/#undo-changes

rekram1-node avatar Aug 14 '25 20:08 rekram1-node

This is now possible: https://opencode.ai/docs/#undo-changes

what about a ui button like Cursor has? much more intuitive and lets us revert multiple changes in one click (just scroll up to the prompt and click to go back to that checkpoint)

purpleskyart avatar Feb 18 '26 02:02 purpleskyart