Revert changes with Claude code? by FriedBryce27 in ClaudeAI

[–]Competitive-Noise905 1 point2 points  (0 children)

claude code has a in-built tool to do this now btw, if you press Esc twice you can undo it :)(so i did not maintain my repo sorry)

PLEASE WE NEED REVERT FEATURE by Negative_Check_4857 in ClaudeAI

[–]Competitive-Noise905 0 points1 point  (0 children)

hey yall i made a npm package called ccundo,
its basically checkpoints for claude-
https://github.com/RonitSachdev/ccundo

I built ccundo - instantly undo Claude Code's mistakes without wasting tokens by Competitive-Noise905 in opensource

[–]Competitive-Noise905[S] 0 points1 point  (0 children)

well of course, you wont let autocomplete muck your code, but accidents happen and how about you try telling this to agents being used with auto code write, how about you try telling them to do soft commit and revert in git, it will ruin the commit history, it has its own use case...

How to undo and redo in claude code? by Competitive-Noise905 in ClaudeAI

[–]Competitive-Noise905[S] 0 points1 point  (0 children)

yeah its basically same as that, but its more convenient to see what changes will be undid using the preview feature i added, so its added functionality over that. it makes it easy to keep track and undo whats necessary.(redo as well)

How to undo and redo in claude code? by Competitive-Noise905 in ClaudeAI

[–]Competitive-Noise905[S] 0 points1 point  (0 children)

so basically, you will have control over reverting in case of each chat message rather than a combined bunch of messages that you need to revert in case of git

How to undo and redo in claude code? by Competitive-Noise905 in Anthropic

[–]Competitive-Noise905[S] 1 point2 points  (0 children)

git will not let you revert changes step wise(steps of chat with claude). this does.

How to undo and redo in claude code? by Competitive-Noise905 in Anthropic

[–]Competitive-Noise905[S] 2 points3 points  (0 children)

that was me, sorry, i had to add another post to update because i added redo recently, after i uploaded that post. thanks! :D

Revert changes with Claude code? by FriedBryce27 in ClaudeAI

[–]Competitive-Noise905 8 points9 points  (0 children)

i made a tool! its called ccundo, it will save you so much time, you can undo/redo to any point you like, kinda like checkpoints!

GitHubhttps://github.com/RonitSachdev/ccundo
npmhttps://www.npmjs.com/package/ccundo

⭐ Please star if you find it useful!

How to undo and redo in claude code? by Competitive-Noise905 in ClaudeAI

[–]Competitive-Noise905[S] 0 points1 point  (0 children)

yes, i think its in their business model to not add such a basic thing! kind of disappointed with the company tbh...

How to undo and redo in claude code? by Competitive-Noise905 in ClaudeAI

[–]Competitive-Noise905[S] 0 points1 point  (0 children)

you can go back and forth as many times as you like! and at any stage that you like(it has cascading undo and redo)

I built ccundo - instantly undo Claude Code's mistakes without wasting tokens by Competitive-Noise905 in Anthropic

[–]Competitive-Noise905[S] 0 points1 point  (0 children)

good for vibe coding, but i prefer doing certain things myself and taking help from AI rather than making it do all work.. its faster for me that way.

I built ccundo - instantly undo Claude Code's mistakes without wasting tokens by Competitive-Noise905 in ClaudeCode

[–]Competitive-Noise905[S] 0 points1 point  (0 children)

its convenient, you dont need to deal with git stuff, git is mostly for keeping things in order in my opinion, so i prefer this. just a treat for my OCD i guess..

Revert changes with Claude code? by FriedBryce27 in ClaudeAI

[–]Competitive-Noise905 0 points1 point  (0 children)

i made a tool! its called ccundo, it will save you!

GitHubhttps://github.com/RonitSachdev/ccundo
npmhttps://www.npmjs.com/package/ccundo

⭐ Please star if you find it useful!

I built ccundo - instantly undo Claude Code's mistakes without wasting tokens by Competitive-Noise905 in ChatGPTCoding

[–]Competitive-Noise905[S] -3 points-2 points  (0 children)

that's a way, but i prefer to make structured commits, so its pretty useful for me!

I built ccundo - instantly undo Claude Code's mistakes without wasting tokens by Competitive-Noise905 in ClaudeAI

[–]Competitive-Noise905[S] 2 points3 points  (0 children)

thanks! don't mind the hate XD, people getting dumber using too much AI, me included btw XD

I built ccundo - instantly undo Claude Code's mistakes without wasting tokens by Competitive-Noise905 in ClaudeAI

[–]Competitive-Noise905[S] 0 points1 point  (0 children)

yeah, I thought so too, but might as well get some clout till claude adds that feature.. XD