Explain Changes requires Checkpoints to be enabled. Make sure to enable checkpoints in your Cline settings before using this feature.
How It Works
After Cline completes a task that involves file changes, you’ll see an “Explain Changes” button alongside the “View Changes” button in the completion message. Clicking this button:- Opens a multi-file diff view showing all changed files
- Streams AI-generated explanations as inline comments
- Places comments at relevant code locations to explain what changed and why
Interactive Comment Threads
One of the most powerful aspects of Explain Changes is that the comments are fully interactive. You can have conversations directly within each comment thread.Asking Follow-up Questions
Each explanation comment has a reply input where you can ask questions about that specific piece of code:- “Why did you use this approach instead of X?”
- “Can you explain this pattern in more detail?”
- “What would happen if we changed this to Y?”
Moving to Main Chat
If a conversation in a comment thread becomes complex or you want to continue working on that code, click the title area of the comment thread to move the entire conversation into Cline’s main chat input. This lets you:- Continue the discussion with full Cline capabilities
- Have Cline make additional changes based on the discussion
- Keep the context from your review conversation
When to Use Explain Changes
Learning and Onboarding
When you’re new to a codebase or working with unfamiliar patterns, Explain Changes helps you understand not just what Cline did, but why. The explanations cover:- Design decisions and trade-offs
- Technical concepts and patterns used
- Relationships between different changes
Code Review
Use Explain Changes as part of your review process:- Understand complex changes before committing
- Verify the AI’s reasoning matches your expectations
- Catch potential issues by understanding the full context
Knowledge Transfer
The explanations serve as documentation for your changes. When other team members review your code, they can see the reasoning behind each modification.Best Practices
- Ask specific questions: The more specific your follow-up questions, the more useful the AI’s responses will be.
- Use for complex changes: Explain Changes is most valuable for multi-file changes or complex logic. For simple changes, the diff view alone may be sufficient.
- Move important discussions to chat: If a comment thread reveals something that needs more work, move it to main chat to take action.
- Review before committing: Use Explain Changes as a final check before committing changes to ensure you understand everything Cline did.
Related Features
- Checkpoints - Required for Explain Changes to work
- /explain-changes - Slash command to explain any git diff

