Git

Read staged and unstaged Git diffs

Review a change line by line before staging it. In this habit tracker, a reminder time and an unfinished weekly summary changed in the same working copy.

Example · Review the reminder time

  1. Open habit-tracker in Local Changes. Select reminders.json under Unstaged.

  2. Read the removed and added lines together. The morning walk previously started at 08:00 and now starts at 08:30.

  3. Select notes/weekly-summary.md to inspect the separate note, then return to the time change you intend to commit.

The diff pairs the old morning walk time with the new one.

Example · Review the staged version

Stage reminders.json, then select the copy under Staged. Check the time again before you commit the selected change.