File: version-control.md | Updated: 11/18/2025
If Codebuff makes a change you don't like, you can easily undo it:
undo or u to remove the last changeredo or r to reapply a change you undiddiff or d to see what changes were made in the last responseThese commands work like your editor's undo/redo, making it easy to experiment with changes while keeping your code safe.
Of course, if you use Git, you can always restore files to previous versions.
Codebuff works alongside your existing git workflow:
git diff before committingYou can also use Codebuff to create commit messages, just ask it to do so:
bash
Can you create a commit message, based on the files we just changed?
Knowledge Files Other use cases
Toggle menu