Back to all features
Code review

Git diff view

Review working changes and past commits

feature demo videoGit diff view

Open Git diff view to separate unstaged, staged, and untracked files, read commit history, and stage, commit, or discard changes over SSH.

Overview

Open … → Git diff view at the top right of your terminal to review code in a remote repository. Content is read through SSH.

Best used for

  • Checking the code your agent just changed.
  • Separating unstaged, staged, and untracked files.
  • Reviewing the full scope of a past commit.

Review changes and commits

  • Changes shows the working tree. Commit history lists commits, with an option to load earlier entries.
  • Select a commit to show its files in the same change view. Select a file for its Diff, then go back to continue reviewing. Merge commits are compared with their first parent.
  • Line numbers and addition/deletion colors help locate changes. Long lines wrap. Use to switch between single-column and side-by-side layouts or refresh the current content.
  • Use … → Repository directory to enter a project path, such as ~/project. tmux and Herdr try the current pane’s directory.

Work with Git

  • In … on the Changes home page, stage all, unstage all, or enter a message to commit all staged changes. Unstaged content is not included in a workspace commit.
  • In … on a file’s Diff, actions affect only that file, including both paths for a rename. Commit this file commits its current content, including unstaged changes, without including other staged files.
  • Discard unstaged changes restores tracked files from the index, keeping staged changes and untracked files. An untracked file can be deleted from its detail page. Unstage, discard, and delete actions show a confirmation of the affected scope. Discarded edits and deleted files cannot be recovered here.
  • Historical commits remain read-only. Successful operations refresh the change list automatically.

Commits use the host’s Git identity, signing, and hooks settings. If a commit fails, the file may already be staged: refresh and check first. If the connection drops, check the outcome before repeating the operation.

Tips

Review binary or oversized content in Terminal; use SFTP for general file management.

Free includes 3 successful opens per day; Pro is unlimited. Switching files, reviewing commits, and refreshing within one open do not use another slot. Failed or cancelled loads do not count.

Put this feature into your mobile workflow

Steer terminal coding agents on your own host, right from your phone.