Release GitComet Professional launches 29d 10h 55m 12s

Join the waitlist for the early-adopter price Join waitlist

GitComet in action · 48 seconds

Stage Only What Matters

Turn several edits in one file into focused commits. Select and stage just the fix, discard a debug line, and edit a remaining typo directly in GitComet before committing the rest.

Follow along

Steps shown in the video

Recorded on Linux. The shortcuts below match the recording.

  1. Select the changed lines belonging to the fix in the diff and stage only those lines.
  2. Discard the leftover debug line while keeping the other intended edits.
  3. Write a message for the staged fix and press Ctrl+Enter to commit it on its own.
  4. Press Alt+E to edit the remaining typo in place. Press Ctrl+S to save the file and return to the diff.
  5. Press Space to stage the remaining change, then commit it separately. The history now contains two focused commits.