Version Control Features
Undo and Redo Changes
If Codebuff makes a change you don't like, you can easily undo it:
- Type
undo
oru
to remove the last change - Type
redo
orr
to reapply a change you undid - Type
diff
ord
to see what changes were made in the last response
These 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.
Git Integration
Codebuff works alongside your existing git workflow:
- Changes are made to your working directory
- You maintain control over what gets committed
- Review changes with
git diff
before committing - Use normal git commands to manage your repository
You 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?