Partial Accept and Reject
Introduction
Partial operations let you selectively accept or reject specific code changes within a file, rather than applying a decision to the entire file. This gives you fine-grained control over which modifications are incorporated into the final version.
Important: After making partial selections (accepting or rejecting individual changes), you must still confirm the overall file status using the Accept/Reject button at the bottom to finalize your decision and apply the changes.
How to Use Partial Accept/Reject
- Open a modified file in the workspace. In the central preview pane, you’ll see all detected changes highlighted.
- For each change:
- Click ✓ (checkmark) to accept the modification.
- Click ↩️ (undo/revert icon) to reject it.
Visual Indicators & Behavior
- Gray background: Code that will be deleted.
- Green background: Code that will be added.
- Both gray and green at the same location: Represents a replacement—the green block replaces the gray one.
- If you accept (✓), the old code (gray) is removed and the new code (green) is inserted.
- If you reject (↩️), the original code (gray) is retained; the proposed addition (green) is discarded.
- Only green: Pure insertion—accept to add, reject to skip.
- Only gray: Pure deletion—accept to remove, reject to keep.
✅ Final Step: After reviewing and selecting individual changes, click the file-level "Accept" or "Reject" button at the bottom to save your choices or discard all changes for that file.

